Skip to content

Tests that rely on google_compute_address are failing #418

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

Closed
danawillow opened this issue Sep 13, 2017 · 1 comment · Fixed by #422
Closed

Tests that rely on google_compute_address are failing #418

danawillow opened this issue Sep 13, 2017 · 1 comment · Fixed by #422

Comments

@danawillow
Copy link
Contributor

#378 changed region to be set on read from the API. The API returns region as a URL, so if a user specified it as a short name, it gets overridden. The solution might be as simple as only storing the last part of the region URL, but I haven't really investigated it yet.

Example test failure:

=== RUN   TestAccComputeRouterInterface_basic
--- FAIL: TestAccComputeRouterInterface_basic (213.52s)
    testing.go:434: Step 0 error: After applying this step, the plan was not empty:
        
        DIFF:
        
        DESTROY/CREATE: google_compute_address.foobar
          address:   "35.202.203.23" => "<computed>"
          name:      "router-interface-test-mbf86si3bk" => "router-interface-test-mbf86si3bk"
          region:    "https://www.googleapis.com/compute/v1/projects/*******/regions/us-central1" => "us-central1" (forces new resource)
          self_link: "https://www.googleapis.com/compute/v1/projects/*******/regions/us-central1/addresses/router-interface-test-mbf86si3bk" => "<computed>"
[other stuff]

@rosbo

@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost unassigned rosbo Mar 31, 2020
@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants