Require spacelift_azure_integration Terraform resource to output Object_id

The spacelift_azure_integration Terraform resource outputs the application_id (Azure AD Application/Client ID) but not the object_id, as per the provider documentation: https://registry.terraform.io/providers/spacelift-io/spacelift/latest/docs/resources/azure_integration If i need the object_id for Azure IAM resources,i have to retrieve it by looking up the service principal via the AzureAD provider: https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/data-sources/service_principal. The reason the object_id is important is cause as per azure for there IAM Terraform resource we need to pass the object _id not the app id. This would be better if we could get that directly as an output rather than having to run about lookup to get the object id or manage it manually as a variable.

Workaround
i have to retrieve it by looking up the service principal via the AzureAD provider: https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/data-sources/service_principal.
Problem
The spacelift_azure_integration Terraform resource outputs the application_id (Azure AD Application/Client ID) but not the object_id

Please authenticate to join the conversation.

Upvoters
Status

βœ… Completed

Board

πŸ’‘ Feature Requests

Tags

Spacelift Provider

Date

6 months ago

Subscribe to post

Get notified by email when there are changes.