-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(apigee): Add support for NatAddress activation #11698
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
feat(apigee): Add support for NatAddress activation #11698
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @trodge, 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. |
Trying to set the It doesn’t seem to be mentioned in the guide, but is it necessary to retrieve the state again from the API in func resourceApigeeNatAddressImport(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) {
config := meta.(*transport_tpg.Config)
(snip)
state := d.Get("state").(string)
if err := d.Set("activate", state == "ACTIVE"); err != nil {
return nil, fmt.Errorf("Error setting NatAddress %s activate: %s", name, err)
}
return []*schema.ResourceData{d}, nil
} |
I don't think import will have access to any API-side data about the resource. Is it possible to do what you need to do in the read method? |
Resolved using encoder/decoder. Thanks. PR is ready for review. Could you take a look? |
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: 43 Click here to see the affected service packages
Tests were added that are skipped in VCR:
View the build log |
@trodge This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
What reason of failed to terraform-google-conversion-test-integration step? |
@GoogleCloudPlatform/terraform-team @trodge This PR has been waiting for review for 1 week. Please take a look! Use the label |
/gcbrun |
My apologies, that test has been a bit flakey since the 6.0.0 changes. I'm trying re-running the tests. If that fails, rebasing this PR may fix it. |
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: 43 Click here to see the affected service packages
Tests were added that are skipped in VCR:
View the build log |
Rebased and checked that the re-run tests passed 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: 43 Click here to see the affected service packages
Tests were added that are skipped in VCR:
View the build log |
Co-authored-by: Thomas Rodgers <[email protected]>
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: 43 Click here to see the affected service packages
Tests were added that are skipped in VCR:
View the build log |
…orm#11698) Co-authored-by: Thomas Rodgers <[email protected]>
…orm#11698) Co-authored-by: Thomas Rodgers <[email protected]>
…orm#11698) Co-authored-by: Thomas Rodgers <[email protected]>
Release Note Template for Downstream PRs (will be copied)