Skip to content

Commit

Permalink
Upgrade to pulumi-terraform 9db2fc93cd (#196)
Browse files Browse the repository at this point in the history
Upgrade to pulumi-terraform 9db2fc93cd
  • Loading branch information
stack72 committed Aug 9, 2019
2 parents 784d5f5 + 98b9f68 commit f890e33
Show file tree
Hide file tree
Showing 562 changed files with 13,179 additions and 8,416 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CHANGELOG
=========

## HEAD (Unreleased)
* Update to pulumi-terraform@013b95b1c8
* Update to pulumi-terraform 9db2fc93cd

---

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ require (
github.com/apache/thrift v0.12.0 // indirect
github.com/go-ini/ini v1.31.0 // indirect
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
github.com/hashicorp/terraform v0.12.5
github.com/hashicorp/terraform v0.12.6
github.com/openzipkin/zipkin-go v0.1.6 // indirect
github.com/pkg/errors v0.8.1
github.com/pulumi/pulumi v0.17.28-0.20190731182900-6804d640fc7c
github.com/pulumi/pulumi-terraform v0.18.4-0.20190805204638-013b95b1c891
github.com/pulumi/pulumi-terraform v0.18.4-0.20190809001837-9db2fc93cdf5
github.com/stretchr/testify v1.3.1-0.20190311161405-34c6fa2dc709
github.com/terraform-providers/terraform-provider-google-beta v0.0.0-20190801223639-c9c945e570d2
golang.org/x/build v0.0.0-20190314133821-5284462c4bec // indirect
Expand Down
10 changes: 10 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ github.com/aws/aws-sdk-go v1.20.4 h1:czX3oqFyqz/AELrK/tneNuyZgNIrWnyqP+iQXsQ32E0
github.com/aws/aws-sdk-go v1.20.4/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.20.19 h1:RQDLGGlcffQzAceEXGdMu+uGGPGhNu+vNG3BrUZAMPI=
github.com/aws/aws-sdk-go v1.20.19/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.21.7 h1:ml+k7szyVaq4YD+3LhqOGl9tgMTqgMbpnuUSkB6UJvQ=
github.com/aws/aws-sdk-go v1.21.7/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=
Expand Down Expand Up @@ -319,6 +321,8 @@ github.com/hashicorp/hcl2 v0.0.0-20190515223218-4b22149b7cef h1:xZRvbcwHY8zhaxDw
github.com/hashicorp/hcl2 v0.0.0-20190515223218-4b22149b7cef/go.mod h1:4oI94iqF3GB10QScn46WqbG0kgTUpha97SAzzg2+2ec=
github.com/hashicorp/hcl2 v0.0.0-20190702185634-5b39d9ff3a9a h1:1KfDwkIXrxrfMpqwuW//ujObiYNuR2DqaETSK2NB8Ug=
github.com/hashicorp/hcl2 v0.0.0-20190702185634-5b39d9ff3a9a/go.mod h1:FSQTwDi9qesxGBsII2VqhIzKQ4r0bHvBkOczWfD7llg=
github.com/hashicorp/hcl2 v0.0.0-20190725010614-0c3fe388e450 h1:wpa0vOXOnSEuwZ++eVk1gQNm3Jy2+Envn0cQRgsl8K8=
github.com/hashicorp/hcl2 v0.0.0-20190725010614-0c3fe388e450/go.mod h1:FSQTwDi9qesxGBsII2VqhIzKQ4r0bHvBkOczWfD7llg=
github.com/hashicorp/hil v0.0.0-20170512213305-fac2259da677 h1:Yj0RcrbLT/5z2k1UdRW+2r0nDUgrKjUNLQiXzMU4a5k=
github.com/hashicorp/hil v0.0.0-20170512213305-fac2259da677/go.mod h1:KHvg/R2/dPtaePb16oW4qIyzkMxXOL38xjRN64adsts=
github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590 h1:2yzhWGdgQUWZUCNK+AoO35V+HTsgEmcM4J9IkArh7PI=
Expand Down Expand Up @@ -347,6 +351,8 @@ github.com/hashicorp/terraform v0.12.4 h1:cm+JE5bOO1RyvltKOkyxmhenGZ6lBIazzzxWdH
github.com/hashicorp/terraform v0.12.4/go.mod h1:R3nGcJpajl/k9hfg6Q/Mvj/mO9Zg4N2CuqXyGBFhjX0=
github.com/hashicorp/terraform v0.12.5 h1:Z2FichOU9kUKWa8RBzwMXzPR1+vhAIstvdsrT8NgYwE=
github.com/hashicorp/terraform v0.12.5/go.mod h1:79gUmnwZ6qMgdCF2RVlVjmIDnqrVROxsczBbmRirIQE=
github.com/hashicorp/terraform v0.12.6 h1:mWItQdLZQ7f3kBYBu2Kgdg+E5iZb1KtCq73V10Hmu48=
github.com/hashicorp/terraform v0.12.6/go.mod h1:udmq5rU8CO9pEIh/A/Xrs3zb3yYU/W9ce1pp8K1ysHA=
github.com/hashicorp/terraform-config-inspect v0.0.0-20190327195015-8022a2663a70 h1:oZm5nE11yhzsTRz/YrUyDMSvixePqjoZihwn8ipuOYI=
github.com/hashicorp/terraform-config-inspect v0.0.0-20190327195015-8022a2663a70/go.mod h1:ItvqtvbC3K23FFET62ZwnkwtpbKZm8t8eMcWjmVVjD8=
github.com/hashicorp/vault v0.8.3 h1:aq9Hr8ocaERhQn5WTX8vtiqpMFS2KSrmgAGsaklINa0=
Expand Down Expand Up @@ -554,6 +560,8 @@ github.com/pulumi/pulumi-terraform v0.18.4-0.20190730181123-6bcafb609db7 h1:Es4y
github.com/pulumi/pulumi-terraform v0.18.4-0.20190730181123-6bcafb609db7/go.mod h1:dQnjdja1Qt70Um86AfVHSXksXYdlfH3QjNQ74wAgoL0=
github.com/pulumi/pulumi-terraform v0.18.4-0.20190805204638-013b95b1c891 h1:mPKGK1bXA6TKOBgQDu8oHuhbt0yLti+41wEJc+5EXQU=
github.com/pulumi/pulumi-terraform v0.18.4-0.20190805204638-013b95b1c891/go.mod h1:HVA/Fkv+5PvaVY7LaBARUq1fzprob6GMLUgPZyHUXSs=
github.com/pulumi/pulumi-terraform v0.18.4-0.20190809001837-9db2fc93cdf5 h1:k34JNaNxiwGF8ev6F9gAyZPwgMSDNCSqeofS2XMmFsM=
github.com/pulumi/pulumi-terraform v0.18.4-0.20190809001837-9db2fc93cdf5/go.mod h1:/rpxRQe8RtRHrrmgmCXHA/9bSj7qxL2NvjmHCDfK77U=
github.com/pulumi/terraform-provider-google-beta v0.0.0-20190803170938-4774546ba1f7 h1:pw+jhikq/KrYloc6cXYhBQeZRq+JBjJYzT4lBB+F+l0=
github.com/pulumi/terraform-provider-google-beta v0.0.0-20190803170938-4774546ba1f7/go.mod h1:GBCWP/B5rvc9l5wGCs/OK7fujJA/j1gaUS+kOZ6N7pg=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
Expand Down Expand Up @@ -697,6 +705,8 @@ github.com/zclconf/go-cty v1.0.1-0.20190708163926-19588f92a98f h1:sq2p8SN6ji66CF
github.com/zclconf/go-cty v1.0.1-0.20190708163926-19588f92a98f/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s=
github.com/zclconf/go-cty-yaml v0.1.0 h1:OP5nkApyAuXB88t8mRUqxD9gbKZocSLuVovrBAt8z10=
github.com/zclconf/go-cty-yaml v0.1.0/go.mod h1:Lk26EcRlO3XbaQ8U2fxIJbEtbgEteSZFUpEr3XFTtsU=
github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8=
github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0=
go.mongodb.org/mongo-driver v1.0.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM=
go.opencensus.io v0.0.0-20180828222441-6ce7b575fc2d h1:lAtgA7trQq90+xFriz+I2//Kc2k6ydx7Q6xYUHKrdmc=
go.opencensus.io v0.0.0-20180828222441-6ce7b575fc2d/go.mod h1:0TeCCqcQSLNZtiq/62+vUzqwnjqF5el6hjmuZaFtyNk=
Expand Down
16 changes: 8 additions & 8 deletions sdk/go/gcp/bigtable/instanceIamBinding.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (

// Three different resources help you manage IAM policies on bigtable instances. Each of these resources serves a different use case:
//
// * `google_bigtable_instance_iam_policy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
// * `google_bigtable_instance_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved.
// * `google_bigtable_instance_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
// * `bigtable.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
// * `bigtable.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved.
// * `bigtable.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
//
// > **Note:** `google_bigtable_instance_iam_policy` **cannot** be used in conjunction with `google_bigtable_instance_iam_binding` and `google_bigtable_instance_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the instance as `google_bigtable_instance_iam_policy` replaces the entire policy.
// > **Note:** `bigtable.InstanceIamPolicy` **cannot** be used in conjunction with `bigtable.InstanceIamBinding` and `bigtable.InstanceIamMember` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the instance as `bigtable.InstanceIamPolicy` replaces the entire policy.
//
// > **Note:** `google_bigtable_instance_iam_binding` resources **can be** used in conjunction with `google_bigtable_instance_iam_member` resources **only if** they do not grant privilege to the same role.
// > **Note:** `bigtable.InstanceIamBinding` resources **can be** used in conjunction with `bigtable.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
//
// > This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigtable_instance_iam_binding.html.markdown.
type InstanceIamBinding struct {
Expand Down Expand Up @@ -105,7 +105,7 @@ func (r *InstanceIamBinding) Project() *pulumi.StringOutput {
}

// The role that should be applied. Only one
// `google_bigtable_instance_iam_binding` can be used per role. Note that custom roles must be of the format
// `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format
// `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (r *InstanceIamBinding) Role() *pulumi.StringOutput {
return (*pulumi.StringOutput)(r.s.State["role"])
Expand All @@ -122,7 +122,7 @@ type InstanceIamBindingState struct {
// is not provided, this provider will use the provider default.
Project interface{}
// The role that should be applied. Only one
// `google_bigtable_instance_iam_binding` can be used per role. Note that custom roles must be of the format
// `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format
// `[projects|organizations]/{parent-name}/roles/{role-name}`.
Role interface{}
}
Expand All @@ -136,7 +136,7 @@ type InstanceIamBindingArgs struct {
// is not provided, this provider will use the provider default.
Project interface{}
// The role that should be applied. Only one
// `google_bigtable_instance_iam_binding` can be used per role. Note that custom roles must be of the format
// `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format
// `[projects|organizations]/{parent-name}/roles/{role-name}`.
Role interface{}
}
16 changes: 8 additions & 8 deletions sdk/go/gcp/bigtable/instanceIamMember.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (

// Three different resources help you manage IAM policies on bigtable instances. Each of these resources serves a different use case:
//
// * `google_bigtable_instance_iam_policy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
// * `google_bigtable_instance_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved.
// * `google_bigtable_instance_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
// * `bigtable.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
// * `bigtable.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved.
// * `bigtable.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
//
// > **Note:** `google_bigtable_instance_iam_policy` **cannot** be used in conjunction with `google_bigtable_instance_iam_binding` and `google_bigtable_instance_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the instance as `google_bigtable_instance_iam_policy` replaces the entire policy.
// > **Note:** `bigtable.InstanceIamPolicy` **cannot** be used in conjunction with `bigtable.InstanceIamBinding` and `bigtable.InstanceIamMember` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the instance as `bigtable.InstanceIamPolicy` replaces the entire policy.
//
// > **Note:** `google_bigtable_instance_iam_binding` resources **can be** used in conjunction with `google_bigtable_instance_iam_member` resources **only if** they do not grant privilege to the same role.
// > **Note:** `bigtable.InstanceIamBinding` resources **can be** used in conjunction with `bigtable.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
//
// > This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigtable_instance_iam_member.html.markdown.
type InstanceIamMember struct {
Expand Down Expand Up @@ -105,7 +105,7 @@ func (r *InstanceIamMember) Project() *pulumi.StringOutput {
}

// The role that should be applied. Only one
// `google_bigtable_instance_iam_binding` can be used per role. Note that custom roles must be of the format
// `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format
// `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (r *InstanceIamMember) Role() *pulumi.StringOutput {
return (*pulumi.StringOutput)(r.s.State["role"])
Expand All @@ -122,7 +122,7 @@ type InstanceIamMemberState struct {
// is not provided, this provider will use the provider default.
Project interface{}
// The role that should be applied. Only one
// `google_bigtable_instance_iam_binding` can be used per role. Note that custom roles must be of the format
// `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format
// `[projects|organizations]/{parent-name}/roles/{role-name}`.
Role interface{}
}
Expand All @@ -136,7 +136,7 @@ type InstanceIamMemberArgs struct {
// is not provided, this provider will use the provider default.
Project interface{}
// The role that should be applied. Only one
// `google_bigtable_instance_iam_binding` can be used per role. Note that custom roles must be of the format
// `bigtable.InstanceIamBinding` can be used per role. Note that custom roles must be of the format
// `[projects|organizations]/{parent-name}/roles/{role-name}`.
Role interface{}
}
16 changes: 8 additions & 8 deletions sdk/go/gcp/bigtable/instanceIamPolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (

// Three different resources help you manage IAM policies on bigtable instances. Each of these resources serves a different use case:
//
// * `google_bigtable_instance_iam_policy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
// * `google_bigtable_instance_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved.
// * `google_bigtable_instance_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
// * `bigtable.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
// * `bigtable.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved.
// * `bigtable.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
//
// > **Note:** `google_bigtable_instance_iam_policy` **cannot** be used in conjunction with `google_bigtable_instance_iam_binding` and `google_bigtable_instance_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the instance as `google_bigtable_instance_iam_policy` replaces the entire policy.
// > **Note:** `bigtable.InstanceIamPolicy` **cannot** be used in conjunction with `bigtable.InstanceIamBinding` and `bigtable.InstanceIamMember` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the instance as `bigtable.InstanceIamPolicy` replaces the entire policy.
//
// > **Note:** `google_bigtable_instance_iam_binding` resources **can be** used in conjunction with `google_bigtable_instance_iam_member` resources **only if** they do not grant privilege to the same role.
// > **Note:** `bigtable.InstanceIamBinding` resources **can be** used in conjunction with `bigtable.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
//
// > This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigtable_instance_iam_policy.html.markdown.
type InstanceIamPolicy struct {
Expand Down Expand Up @@ -88,7 +88,7 @@ func (r *InstanceIamPolicy) Instance() *pulumi.StringOutput {
return (*pulumi.StringOutput)(r.s.State["instance"])
}

// The policy data generated by a `google_iam_policy` data source.
// The policy data generated by a `organizations.getIAMPolicy` data source.
func (r *InstanceIamPolicy) PolicyData() *pulumi.StringOutput {
return (*pulumi.StringOutput)(r.s.State["policyData"])
}
Expand All @@ -105,7 +105,7 @@ type InstanceIamPolicyState struct {
Etag interface{}
// The name or relative resource id of the instance to manage IAM policies for.
Instance interface{}
// The policy data generated by a `google_iam_policy` data source.
// The policy data generated by a `organizations.getIAMPolicy` data source.
PolicyData interface{}
// The project in which the instance belongs. If it
// is not provided, this provider will use the provider default.
Expand All @@ -116,7 +116,7 @@ type InstanceIamPolicyState struct {
type InstanceIamPolicyArgs struct {
// The name or relative resource id of the instance to manage IAM policies for.
Instance interface{}
// The policy data generated by a `google_iam_policy` data source.
// The policy data generated by a `organizations.getIAMPolicy` data source.
PolicyData interface{}
// The project in which the instance belongs. If it
// is not provided, this provider will use the provider default.
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/gcp/billing/accountIamBinding.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// an existing Google Cloud Platform Billing Account.
//
// > **Note:** This resource __must not__ be used in conjunction with
// `google_billing_account_iam_member` for the __same role__ or they will fight over
// `billing.AccountIamMember` for the __same role__ or they will fight over
// what your policy should be.
//
// > **Note:** On create, this resource will overwrite members of any existing roles.
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/gcp/billing/accountIamMember.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// the IAM policy for an existing Google Cloud Platform Billing Account.
//
// > **Note:** This resource __must not__ be used in conjunction with
// `google_billing_account_iam_binding` for the __same role__ or they will fight over
// `billing.AccountIamBinding` for the __same role__ or they will fight over
// what your policy should be.
//
// > This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/billing_account_iam_member.html.markdown.
Expand Down
Loading

0 comments on commit f890e33

Please sign in to comment.