Skip to content

Errors during terraform deployment #73

@bandapatigoutham

Description

@bandapatigoutham

While running the Terraform scripts, I observed the following failures:

  1. Virtual Machine Creation
• 	The feature EncryptionAtHost is not enabled under the provider.
• 	A pull request has been created to address this prerequisite.
  1. Key Vault Access Restrictions
• 	Public access to the Key Vault is disabled.
• 	In production, this is not an issue since GitHub workflow agents run within the network.
• 	However, for local execution, the workstation’s public IP must be whitelisted or internet access enabled.
• 	Fix: Configure the vault to “Allow public access from specific virtual networks and IP addresses” and whitelist the workstation’s public IP.
  1. Service Principal Permissions
• 	The README currently states that Owner or Contributor access is sufficient for the service principal.
• 	In practice, deployment also requires RBAC permissions on the Key Vault, which fail without elevated rights.
• 	Correction: The service principal should be granted Owner or Contributor + User Access Administrator to successfully perform the deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions