Closed donovanmuller closed 2 years ago
In this example, for google_service_account_iam
related resources, there is no example generated at all.
This issue is more than likely the same as discussed in https://github.com/upbound/upjet/issues/43
With https://github.com/upbound/official-providers/pull/515 , GCP should also have the unified examples where the whole HCL block is printed in a single YAML file. In Azure for example, this is already the case https://github.com/upbound/official-providers/blob/main/provider-azure/examples-generated/compute/windowsvirtualmachine.yaml
https://github.com/upbound/official-providers/pull/515 is merged and we have this now.
What problem are you facing?
When there is Terraform registry page for a group of related resources (examples below), only the first example is generated.
Examples:
google_organization_iam
resources:google_organization_iam_policy
google_organization_iam_binding
google_organization_iam_member
google_organization_iam_audit_config
pubsub_subscription_iam
resourcesin the example above of the
google_organization_iam
related resources, only one example is generated inexamples-generated
, namelyorganizationiampolicy.yaml
, which is the first example.How could Terrajet help solve your problem?
Generate examples for all resources in the related group.