Open dstamen opened 1 year ago
Has limitations on the resource block here. https://github.com/hashicorp/terraform/issues/33228
I am running into the same issue with accepting marketplace agreements. The permission to create the acceptance is fairly high level and we don't allow most authors to do it. Can the data source be used as sufficient acceptance of the agreement. This will also not destroy the agreement if it's used across multiple modules in the subscription.
Is there an existing issue for this?
Community Note
Description
When using the marketplace agreement plans it only needs to be accepted once. However if multiple modules need to reference the plan if the agreement is always accepted it errors.
Looking to see if there can be an update, that if the agreement is not accepted, it is accepted. If it is already accepted, then ignore and no longer require it to be manually imported.
Unfortuantely with TF 1.5.3 there is an import block that can be used but unfortunately does not accept variables to get around this.
New or Affected Resource(s)/Data Source(s)
azurerm_marketplace_agreement
Potential Terraform Configuration
No response
References
No response