-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Adding Apigee Dns Zone resource support #13060
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
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @melinath, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
@sauragrawal, this PR is waiting for action from you. If no action is taken, this PR will be closed in 28 days. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. This notification can be disabled with the |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the rework, but it looks like I was wrong (misinterpreted the test failure last time around) and the custom_import is necessary. Specifically, the problem is that orgId contains the organizations/
part as well. It could be possible to make this behave in a more normal way but then it would potentially diverge from other apigee resources.
The test failure is now:
Error: Import id "organizations/tf-testqi46wps6k0/dnsZones/tf-testqi46wps6k0" doesn't match any of the accepted formats: [^(?P<org_id>[^/]+)/dnsZones/(?P<dns_zone_id>[^/]+)$ ^(?P<org_id>[^/]+)/(?P<dns_zone_id>[^/]+)$]
- '{{org_id}}/dnsZones/{{dns_zone_id}}' | ||
- '{{org_id}}/{{dns_zone_id}}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding % here would let org_id contain /
, and would probably work. But you wouldn't get the same level of information in error messages if users specify it wrong.
- '{{org_id}}/dnsZones/{{dns_zone_id}}' | |
- '{{org_id}}/{{dns_zone_id}}' | |
- '{{%org_id}}/dnsZones/{{dns_zone_id}}' | |
- '{{%org_id}}/{{dns_zone_id}}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the custom import code
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 55 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
ddb6b26
Adding support for google_apigee_dns_zone resource
Fixes: hashicorp/terraform-provider-google#21391
Release Note Template for Downstream PRs (will be copied)