Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with 'contributor' role for Managed Identity when running the docker container #397

Open
1 task done
PFZM opened this issue Sep 3, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working new Added to an issue when it's new ;)

Comments

@PFZM
Copy link

PFZM commented Sep 3, 2024

Terraform Version Details

N/A

Terraform Variable File Details

N/A

Steps to Reproduce

As per documentation: "Your Service Principal or Managed Identity in the Azure subscription requires a "Contributor" role to create Azure resources"

  • Follow the steps on the repo.
    Specific steps for this issue:
  1. Create Managed Identity with "Contributor" role.
  2. Assign Managed Identity to VM.
    3.Run the docker command to deploy infrastructure

Expected Behavior

After running the Docker command, we expect the infrastructure in Azure to be successfully deployed

Actual Behavior

When we run the docker command we got the following error:
image

Additional Context

By changing the 'role' to "owner" to the Managed Identity we can manage to do the deployment.
However, this becomes an issue when woking with clients.

References

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@PFZM PFZM added bug Something isn't working new Added to an issue when it's new ;) labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new Added to an issue when it's new ;)
Projects
None yet
Development

No branches or pull requests

1 participant