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

Support project numbers in monitored project #5955

Conversation

modular-magician
Copy link
Collaborator

fixes hashicorp/terraform-provider-google#15211

  • needed a diff suppress for short & long versions with project name and number
  • modified the decoder to look for a project number instead of project id when given a project number
  • added two acceptance tests for short and long form project number creation
  • added unit tests for diff suppress function

Completed the following manual upgrade tests:

  • created w/ long id in 4.70 -> upgraded to built provider successfully

  • created w/ short id in 4.70 -> upgraded to built provider successfully

  • created w/ long num in 4.70 -> upgraded to built provider successfully

  • created w/ short num in 4.70 -> upgraded to built provider successfully

  • created w/ long id in 4.75 -> upgraded to built provider successfully

  • created w/ short id in 4.75 -> upgraded to built provider successfully

  • created w/ long num in 4.75 & failed as expected, could not upgrade without importing

  • created w/ short num in 4.75 & failed as expected, could not upgrade without importing

Release Note Template for Downstream PRs (will be copied)

monitoring: fixed an issue in `google_monitoring_monitored_project` where project numbers were not accepted for `name`

Derived from GoogleCloudPlatform/magic-modules#8454

@modular-magician modular-magician merged commit bf4be67 into hashicorp:main Jul 26, 2023
@modular-magician modular-magician deleted the downstream-pr-67f9ba8865dd64d9510fcea603f7e4b1bcbdb14e branch November 16, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-creation of existing google_monitoring_monitored_project resource for project number name
1 participant