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

have metadata item fail on create if the key is already present #1714

Conversation

modular-magician
Copy link
Collaborator

Fixes hashicorp/terraform-provider-google#5514.

Also cleaned up tests a bit while I was here.

Release Note Template for Downstream PRs (will be copied)

compute: updated `google_compute_project_metadata_item` to fail on create if its key is already present in the project metadata. 

Derived from GoogleCloudPlatform/magic-modules#3063

…icorp#3063)

* have metadata item fail on create if the key is already present

* name booleans

* compile

Signed-off-by: Modular Magician <magic-modules@google.com>
@ghost ghost added the size/m label Feb 3, 2020
@modular-magician modular-magician merged commit 91f3dac into hashicorp:master Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

google_compute_project_metadata_item overwrites existing key/value
1 participant