Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform Pub/Sub fix, do not send name on topic/subscription creation. #1896

Merged
merged 2 commits into from
Jun 10, 2019

Conversation

drebes
Copy link
Member

@drebes drebes commented Jun 7, 2019

Strictly speaking the body of projects.topics.create and projects.subscriptions.create shouldn't include the resource name, as this is only a path parameter. Including them seems to be harmless in the common case, but causes problems when the topic/subscription is within a VPC Service Controls perimeter.

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician, I work on Magic Modules.
This PR seems not to have generated downstream PRs before, as of 48c6e30.

Pull request statuses

No diff detected in Ansible.
No diff detected in Inspec.

New Pull Requests

I built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed.
depends: hashicorp/terraform-provider-google-beta#827
depends: GoogleCloudPlatform/terraform-google-conversion#99
depends: hashicorp/terraform-provider-google#3818

Copy link
Member

@rileykarson rileykarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Looks like we have url_param_only that covers when a field appears in neither the request or response, but no override for this case where it can't appear in the request but we want to read it from the response.

drebes and others added 2 commits June 10, 2019 23:33
Tracked submodules are build/terraform-beta build/terraform-mapper build/terraform build/ansible build/inspec.
@modular-magician modular-magician merged commit d849a39 into GoogleCloudPlatform:master Jun 10, 2019
@drebes drebes deleted the pubsub-noname branch June 16, 2019 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants