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

Allow google_monitoring_notification_channel import process to set project from the URI #6327

Conversation

modular-magician
Copy link
Collaborator

Fixes hashicorp/terraform-provider-google#10788

This PR makes the import logic for the google_monitoring_notification_channel resource pull the project value out of the URI. This allows people to import the resource when there are no default project values present on the provider.

Release Note Template for Downstream PRs (will be copied)

monitoring: fixed bug where importing `google_monitoring_notification_channel` failed when no default project was supplied in provider configuration or through environment variables

Derived from GoogleCloudPlatform/magic-modules#9022

@modular-magician modular-magician merged commit 2661abb into hashicorp:main Sep 21, 2023
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-1f8ac462d7b2ed2c2f843f3f36d4558b87afa30a branch November 16, 2024 02:05
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.

Cannot import google_monitoring_notification_channel
1 participant