Skip to content

Commit

Permalink
Merge pull request #994 from pulumi/update-to-upstream-v4.53.1
Browse files Browse the repository at this point in the history
Update to upstream v4.53.1
  • Loading branch information
kpitzen authored Feb 16, 2023
2 parents d8be576 + 573c01c commit b8d0d61
Show file tree
Hide file tree
Showing 414 changed files with 45,288 additions and 3,917 deletions.
2,599 changes: 2,348 additions & 251 deletions provider/cmd/pulumi-resource-gcp/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (

replace (
github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9
github.com/hashicorp/terraform-provider-google-beta => github.com/pulumi/terraform-provider-google-beta v0.0.0-20230131222603-7068d3cf5711
github.com/hashicorp/terraform-provider-google-beta => github.com/pulumi/terraform-provider-google-beta v0.0.0-20230216140231-387f8adeb6a7
github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0
)

Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1555,8 +1555,8 @@ github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Di
github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 h1:JMw+t5I+6E8Lna7JF+ghAoOLOl23UIbshJyRNP+K1HU=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9/go.mod h1:mYPs/uchNcBq7AclQv9QUtSf9iNcfp1Ag21jqTlDf2M=
github.com/pulumi/terraform-provider-google-beta v0.0.0-20230131222603-7068d3cf5711 h1:5Ysh5Be8Pb8xjKcE/Ql3L/sFbcqi1HgBhvTXFZss18o=
github.com/pulumi/terraform-provider-google-beta v0.0.0-20230131222603-7068d3cf5711/go.mod h1:LcpN8YCNx8yB54Hs54Flx34cNVWQys6FIU8ZeeGEU50=
github.com/pulumi/terraform-provider-google-beta v0.0.0-20230216140231-387f8adeb6a7 h1:6i9RZR8MPsjyholYjhmH7dhJUconLj3Y4BbccssqnXg=
github.com/pulumi/terraform-provider-google-beta v0.0.0-20230216140231-387f8adeb6a7/go.mod h1:LcpN8YCNx8yB54Hs54Flx34cNVWQys6FIU8ZeeGEU50=
github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
Expand Down
27 changes: 27 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,24 @@ func Provider() tfbridge.ProviderInfo {
// Cloud Build V2
"google_cloudbuildv2_connection": {Tok: gcpResource(gcpCloudBuildV2, "Connection")},
"google_cloudbuildv2_repository": {Tok: gcpResource(gcpCloudBuildV2, "Repository")},
"google_cloudbuildv2_connection_iam_binding": {
Tok: gcpResource(gcpCloudBuildV2, "ConnectionIAMBinding"),
Docs: &tfbridge.DocInfo{
Source: "cloudbuildv2_connection_iam.html.markdown",
},
},
"google_cloudbuildv2_connection_iam_member": {
Tok: gcpResource(gcpCloudBuildV2, "ConnectionIAMMember"),
Docs: &tfbridge.DocInfo{
Source: "cloudbuildv2_connection_iam.html.markdown",
},
},
"google_cloudbuildv2_connection_iam_policy": {
Tok: gcpResource(gcpCloudBuildV2, "ConnectionIAMPolicy"),
Docs: &tfbridge.DocInfo{
Source: "cloudbuildv2_connection_iam.html.markdown",
},
},

// Cloud Deploy
"google_clouddeploy_delivery_pipeline": {Tok: gcpResource(gcpCloudDeploy, "DeliveryPipeline")},
Expand Down Expand Up @@ -1472,6 +1490,7 @@ func Provider() tfbridge.ProviderInfo {
// Firestore resources
"google_firestore_index": {Tok: gcpResource(gcpFirestore, "Index")},
"google_firestore_document": {Tok: gcpResource(gcpFirestore, "Document")},
"google_firestore_database": {Tok: gcpResource(gcpFirestore, "Database")},

// Monitoring resources
"google_monitoring_alert_policy": {Tok: gcpResource(gcpMonitoring, "AlertPolicy")},
Expand Down Expand Up @@ -2610,6 +2629,14 @@ func Provider() tfbridge.ProviderInfo {
"google_apigee_endpoint_attachment": {Tok: gcpResource(gcpApigee, "EndpointAttachment")},
"google_apigee_nat_address": {Tok: gcpResource(gcpApigee, "NatAddress")},
"google_apigee_sync_authorization": {Tok: gcpResource(gcpApigee, "SyncAuthorization")},
"google_apigee_addons_config": {
Tok: gcpResource(gcpApigee, "AddonsConfig"),
Fields: map[string]*tfbridge.SchemaInfo{
"addons_config": {
CSharpName: "AddonsConfigDetails",
},
},
},

// API Gateway
"google_api_gateway_api_config_iam_binding": {
Expand Down
19 changes: 8 additions & 11 deletions sdk/dotnet/Alloydb/Backup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
namespace Pulumi.Gcp.Alloydb
{
/// <summary>
/// An AlloyDB Backup.
///
/// To get more information about Backup, see:
///
/// * [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.backups/create)
/// * How-to Guides
/// * [AlloyDB](https://cloud.google.com/alloydb/docs/)
///
/// ## Example Usage
/// ### Alloydb Backup Full
///
Expand All @@ -30,9 +38,6 @@ namespace Pulumi.Gcp.Alloydb
/// ClusterId = "alloydb-cluster",
/// Location = "us-central1",
/// Network = defaultNetwork.Apply(getNetworkResult =&gt; getNetworkResult.Id),
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// var privateIpAlloc = new Gcp.Compute.GlobalAddress("privateIpAlloc", new()
Expand All @@ -41,9 +46,6 @@ namespace Pulumi.Gcp.Alloydb
/// Purpose = "VPC_PEERING",
/// PrefixLength = 16,
/// Network = defaultNetwork.Apply(getNetworkResult =&gt; getNetworkResult.Id),
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// var vpcConnection = new Gcp.ServiceNetworking.Connection("vpcConnection", new()
Expand All @@ -54,9 +56,6 @@ namespace Pulumi.Gcp.Alloydb
/// {
/// privateIpAlloc.Name,
/// },
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// var defaultInstance = new Gcp.Alloydb.Instance("defaultInstance", new()
Expand All @@ -66,7 +65,6 @@ namespace Pulumi.Gcp.Alloydb
/// InstanceType = "PRIMARY",
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// DependsOn = new[]
/// {
/// vpcConnection,
Expand All @@ -85,7 +83,6 @@ namespace Pulumi.Gcp.Alloydb
/// },
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// DependsOn = new[]
/// {
/// defaultInstance,
Expand Down
85 changes: 1 addition & 84 deletions sdk/dotnet/Alloydb/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ namespace Pulumi.Gcp.Alloydb
/// {
/// var project = Gcp.Organizations.GetProject.Invoke();
///
/// var defaultNetwork = new Gcp.Compute.Network("defaultNetwork", new()
/// {
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
/// var defaultNetwork = new Gcp.Compute.Network("defaultNetwork");
///
/// var defaultCluster = new Gcp.Alloydb.Cluster("defaultCluster", new()
/// {
Expand All @@ -39,84 +34,6 @@ namespace Pulumi.Gcp.Alloydb
/// var name = values.Item2;
/// return $"projects/{project.Apply(getProjectResult =&gt; getProjectResult.Number)}/global/networks/{name}";
/// }),
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// });
/// ```
/// ### Alloydb Cluster Full
///
/// ```csharp
/// using System.Collections.Generic;
/// using Pulumi;
/// using Gcp = Pulumi.Gcp;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var project = Gcp.Organizations.GetProject.Invoke();
///
/// var @default = new Gcp.Compute.Network("default", new()
/// {
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// var full = new Gcp.Alloydb.Cluster("full", new()
/// {
/// ClusterId = "alloydb-cluster-full",
/// Location = "us-central1",
/// Network = Output.Tuple(project, @default.Name).Apply(values =&gt;
/// {
/// var project = values.Item1;
/// var name = values.Item2;
/// return $"projects/{project.Apply(getProjectResult =&gt; getProjectResult.Number)}/global/networks/{name}";
/// }),
/// InitialUser = new Gcp.Alloydb.Inputs.ClusterInitialUserArgs
/// {
/// User = "alloydb-cluster-full",
/// Password = "alloydb-cluster-full",
/// },
/// AutomatedBackupPolicy = new Gcp.Alloydb.Inputs.ClusterAutomatedBackupPolicyArgs
/// {
/// Location = "us-central1",
/// BackupWindow = "1800s",
/// Enabled = true,
/// WeeklySchedule = new Gcp.Alloydb.Inputs.ClusterAutomatedBackupPolicyWeeklyScheduleArgs
/// {
/// DaysOfWeeks = new[]
/// {
/// "MONDAY",
/// },
/// StartTimes = new[]
/// {
/// new Gcp.Alloydb.Inputs.ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs
/// {
/// Hours = 23,
/// Minutes = 0,
/// Seconds = 0,
/// Nanos = 0,
/// },
/// },
/// },
/// QuantityBasedRetention = new Gcp.Alloydb.Inputs.ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs
/// {
/// Count = 1,
/// },
/// Labels =
/// {
/// { "test", "alloydb-cluster-full" },
/// },
/// },
/// Labels =
/// {
/// { "test", "alloydb-cluster-full" },
/// },
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// });
Expand Down
25 changes: 9 additions & 16 deletions sdk/dotnet/Alloydb/Instance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
namespace Pulumi.Gcp.Alloydb
{
/// <summary>
/// A managed alloydb cluster instance.
///
/// To get more information about Instance, see:
///
/// * [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.instances/create)
/// * How-to Guides
/// * [AlloyDB](https://cloud.google.com/alloydb/docs/)
///
/// ## Example Usage
/// ### Alloydb Instance Basic
///
Expand All @@ -22,12 +30,7 @@ namespace Pulumi.Gcp.Alloydb
/// {
/// var project = Gcp.Organizations.GetProject.Invoke();
///
/// var defaultNetwork = new Gcp.Compute.Network("defaultNetwork", new()
/// {
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
/// var defaultNetwork = new Gcp.Compute.Network("defaultNetwork");
///
/// var defaultCluster = new Gcp.Alloydb.Cluster("defaultCluster", new()
/// {
Expand All @@ -43,9 +46,6 @@ namespace Pulumi.Gcp.Alloydb
/// {
/// Password = "alloydb-cluster",
/// },
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// var privateIpAlloc = new Gcp.Compute.GlobalAddress("privateIpAlloc", new()
Expand All @@ -54,9 +54,6 @@ namespace Pulumi.Gcp.Alloydb
/// Purpose = "VPC_PEERING",
/// PrefixLength = 16,
/// Network = defaultNetwork.Id,
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// var vpcConnection = new Gcp.ServiceNetworking.Connection("vpcConnection", new()
Expand All @@ -67,9 +64,6 @@ namespace Pulumi.Gcp.Alloydb
/// {
/// privateIpAlloc.Name,
/// },
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// });
///
/// var defaultInstance = new Gcp.Alloydb.Instance("defaultInstance", new()
Expand All @@ -83,7 +77,6 @@ namespace Pulumi.Gcp.Alloydb
/// },
/// }, new CustomResourceOptions
/// {
/// Provider = google_beta,
/// DependsOn = new[]
/// {
/// vpcConnection,
Expand Down
Loading

0 comments on commit b8d0d61

Please sign in to comment.