I’ve been doing mostly terraform for the last 18 months and now I need to modify a DSC resource(so, I’m rusty) and I’m facing a strange problem. To solve a problem I added a parameter to an existing DSC resource(part of the xWebsiteAdministration resource) but when I try to run it it doesn’t recognize the extra paramater as valid(It’s called from ansible, but it’s the same when trying it with invoke-dscresource)
modified a line in the resource to use that parameter
deployed the modified module to the test server
called it using ansible(fail)
called it locally using invoke-dscresource to see if it was ansible or the resource itself(still a fail, with same message that the new parameter is not a valid one for the resource)
EDIT: I made another reply with the code, but it seems to be stuck in moderation?. Should appear eventually.