Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

retention values in google terraform provider for apigeex gcp project

 @dchiesa1 @kurtkanaskie , We are trying to import our apigeex gcp project objects in terraform & see that google terraform resource is looking for retention values to be specified. Since we are using apigeex paid subscription (3 year term), does this apply? if yes, could you please let us know the value that we need to use?

~ resource "google_apigee_organization" "organization" {
        id                                    = "organizations/{gcpprojectid}"
        name                                  = "{gcpprojectname}"
      + retention                             = "DELETION_RETENTION_UNSPECIFIED"

retention - (Optional) Optional. This setting is applicable only for organizations that are soft-deleted (i.e., BillingType is not EVALUATION). It controls how long Organization data will be retained after the initial delete operation completes. During this period, the Organization may be restored to its last known state. After this period, the Organization will no longer be able to be restored. Default value is DELETION_RETENTION_UNSPECIFIED. Possible values are: DELETION_RETENTION_UNSPECIFIED, MINIMUM

Let us know.

 

Solved Solved
1 1 155
1 ACCEPTED SOLUTION

According to the organizations.delete API - https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations/delete

The default data retention setting for this operation is 7 days. To permanently delete the organization in 24 hours, set the retention parameter to MINIMUM.

View solution in original post

1 REPLY 1

According to the organizations.delete API - https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations/delete

The default data retention setting for this operation is 7 days. To permanently delete the organization in 24 hours, set the retention parameter to MINIMUM.