Open rguthriemsft opened 4 years ago
That comment looks good Richard. Thank you for logging this and getting a PR in place for it it. It makes much more sense to use the Environment Variable for this than adding it to the provider on each of the scripts.
Was this resolved by #624?
Currently terraform provider will try to register resource managers it needs to operate against azure by default. If the user/service principal does not have owner rights to the subscription this will fail. Terraform supports adding a flag to provider block to skip registration to support contributor access. CI needs to add ARM_SKIP_PROVIDER_REGISTRATION to the env variables so a user can enable this for their CI to function correctly.