Skip to content

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

@PFZM

Description

@PFZM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleOpen for 30 days with no activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions