Skip to content

Commit

Permalink
Merge pull request #1228 from hashicorp/auto/provider-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
team-tf-cdk authored Sep 27, 2022
2 parents 5f63978 + 77f45e1 commit a9d9599
Show file tree
Hide file tree
Showing 632 changed files with 2,518 additions and 634 deletions.
797 changes: 797 additions & 0 deletions API.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/access-context-manager-access-level-condition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export class AccessContextManagerAccessLevelCondition extends cdktf.TerraformRes
terraformResourceType: 'google_access_context_manager_access_level_condition',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-access-level.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ export class AccessContextManagerAccessLevel extends cdktf.TerraformResource {
terraformResourceType: 'google_access_context_manager_access_level',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-access-levels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ export class AccessContextManagerAccessLevels extends cdktf.TerraformResource {
terraformResourceType: 'google_access_context_manager_access_levels',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-access-policy-iam-binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class AccessContextManagerAccessPolicyIamBinding extends cdktf.TerraformR
terraformResourceType: 'google_access_context_manager_access_policy_iam_binding',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-access-policy-iam-member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class AccessContextManagerAccessPolicyIamMember extends cdktf.TerraformRe
terraformResourceType: 'google_access_context_manager_access_policy_iam_member',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-access-policy-iam-policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class AccessContextManagerAccessPolicyIamPolicy extends cdktf.TerraformRe
terraformResourceType: 'google_access_context_manager_access_policy_iam_policy',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-access-policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export class AccessContextManagerAccessPolicy extends cdktf.TerraformResource {
terraformResourceType: 'google_access_context_manager_access_policy',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-gcp-user-access-binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class AccessContextManagerGcpUserAccessBinding extends cdktf.TerraformRes
terraformResourceType: 'google_access_context_manager_gcp_user_access_binding',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-service-perimeter-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class AccessContextManagerServicePerimeterResource extends cdktf.Terrafor
terraformResourceType: 'google_access_context_manager_service_perimeter_resource',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-service-perimeter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3664,7 +3664,7 @@ export class AccessContextManagerServicePerimeter extends cdktf.TerraformResourc
terraformResourceType: 'google_access_context_manager_service_perimeter',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/access-context-manager-service-perimeters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3905,7 +3905,7 @@ export class AccessContextManagerServicePerimeters extends cdktf.TerraformResour
terraformResourceType: 'google_access_context_manager_service_perimeters',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/active-directory-domain-trust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class ActiveDirectoryDomainTrust extends cdktf.TerraformResource {
terraformResourceType: 'google_active_directory_domain_trust',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/active-directory-domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class ActiveDirectoryDomain extends cdktf.TerraformResource {
terraformResourceType: 'google_active_directory_domain',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-endpoint-attachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class ApigeeEndpointAttachment extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_endpoint_attachment',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-envgroup-attachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class ApigeeEnvgroupAttachment extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_envgroup_attachment',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-envgroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class ApigeeEnvgroup extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_envgroup',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-environment-iam-binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class ApigeeEnvironmentIamBinding extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_environment_iam_binding',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-environment-iam-member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class ApigeeEnvironmentIamMember extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_environment_iam_member',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-environment-iam-policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class ApigeeEnvironmentIamPolicy extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_environment_iam_policy',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export class ApigeeEnvironment extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_environment',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-instance-attachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class ApigeeInstanceAttachment extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_instance_attachment',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class ApigeeInstance extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_instance',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-nat-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class ApigeeNatAddress extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_nat_address',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apigee-organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export class ApigeeOrganization extends cdktf.TerraformResource {
terraformResourceType: 'google_apigee_organization',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/apikeys-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ export class ApikeysKey extends cdktf.TerraformResource {
terraformResourceType: 'google_apikeys_key',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/app-engine-application-url-dispatch-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export class AppEngineApplicationUrlDispatchRules extends cdktf.TerraformResourc
terraformResourceType: 'google_app_engine_application_url_dispatch_rules',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/app-engine-application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export class AppEngineApplication extends cdktf.TerraformResource {
terraformResourceType: 'google_app_engine_application',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/app-engine-domain-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export class AppEngineDomainMapping extends cdktf.TerraformResource {
terraformResourceType: 'google_app_engine_domain_mapping',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/app-engine-firewall-rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class AppEngineFirewallRule extends cdktf.TerraformResource {
terraformResourceType: 'google_app_engine_firewall_rule',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/app-engine-flexible-app-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3877,7 +3877,7 @@ export class AppEngineFlexibleAppVersion extends cdktf.TerraformResource {
terraformResourceType: 'google_app_engine_flexible_app_version',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/app-engine-service-network-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export class AppEngineServiceNetworkSettings extends cdktf.TerraformResource {
terraformResourceType: 'google_app_engine_service_network_settings',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/app-engine-service-split-traffic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export class AppEngineServiceSplitTraffic extends cdktf.TerraformResource {
terraformResourceType: 'google_app_engine_service_split_traffic',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
31 changes: 30 additions & 1 deletion src/app-engine-standard-app-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1915,6 +1915,12 @@ export class AppEngineStandardAppVersionTimeoutsOutputReference extends cdktf.Co
}
}
export interface AppEngineStandardAppVersionVpcAccessConnector {
/**
* The egress setting for the connector, controlling what traffic is diverted through it.
*
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/app_engine_standard_app_version#egress_setting AppEngineStandardAppVersion#egress_setting}
*/
readonly egressSetting?: string;
/**
* Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
*
Expand All @@ -1929,6 +1935,7 @@ export function appEngineStandardAppVersionVpcAccessConnectorToTerraform(struct?
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
egress_setting: cdktf.stringToTerraform(struct!.egressSetting),
name: cdktf.stringToTerraform(struct!.name),
}
}
Expand All @@ -1947,6 +1954,10 @@ export class AppEngineStandardAppVersionVpcAccessConnectorOutputReference extend
public get internalValue(): AppEngineStandardAppVersionVpcAccessConnector | undefined {
let hasAnyValues = this.isEmptyObject;
const internalValueResult: any = {};
if (this._egressSetting !== undefined) {
hasAnyValues = true;
internalValueResult.egressSetting = this._egressSetting;
}
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
Expand All @@ -1957,14 +1968,32 @@ export class AppEngineStandardAppVersionVpcAccessConnectorOutputReference extend
public set internalValue(value: AppEngineStandardAppVersionVpcAccessConnector | undefined) {
if (value === undefined) {
this.isEmptyObject = false;
this._egressSetting = undefined;
this._name = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._egressSetting = value.egressSetting;
this._name = value.name;
}
}

// egress_setting - computed: false, optional: true, required: false
private _egressSetting?: string;
public get egressSetting() {
return this.getStringAttribute('egress_setting');
}
public set egressSetting(value: string) {
this._egressSetting = value;
}
public resetEgressSetting() {
this._egressSetting = undefined;
}
// Temporarily expose input value. Use with caution.
public get egressSettingInput() {
return this._egressSetting;
}

// name - computed: false, optional: false, required: true
private _name?: string;
public get name() {
Expand Down Expand Up @@ -2005,7 +2034,7 @@ export class AppEngineStandardAppVersion extends cdktf.TerraformResource {
terraformResourceType: 'google_app_engine_standard_app_version',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/artifact-registry-repository-iam-binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class ArtifactRegistryRepositoryIamBinding extends cdktf.TerraformResourc
terraformResourceType: 'google_artifact_registry_repository_iam_binding',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/artifact-registry-repository-iam-member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class ArtifactRegistryRepositoryIamMember extends cdktf.TerraformResource
terraformResourceType: 'google_artifact_registry_repository_iam_member',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/artifact-registry-repository-iam-policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ArtifactRegistryRepositoryIamPolicy extends cdktf.TerraformResource
terraformResourceType: 'google_artifact_registry_repository_iam_policy',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '4.37.0',
providerVersion: '4.38.0',
providerVersionConstraint: '~> 4.0'
},
provider: config.provider,
Expand Down
Loading

0 comments on commit a9d9599

Please sign in to comment.