-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
import google_compute_router_nat fails #3538
import google_compute_router_nat fails #3538
Comments
Hey @ricosega! |
I am not sure that is the problem, because I have been able to import any other resources but not this one.
|
I just had this problem. This particular import does not allow to pass the project via the id, like The fix like mentioned above by @rileykarson is to force some project, in my case I did: GOOGLE_PROJECT=my-project-id terraform import google_compute_router_nat.nat-name region/router-name/nat-name |
Project can be specified explicitly on the resource at import-time beginning with |
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 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Terraform Version
Terraform v0.11.13
Affected Resource(s)
google_compute_router_nat
Terraform Configuration Files
Debug Output
https://gist.github.com/ricosega/0b038513447d32312f563b152b52a0eb
Expected Behavior
Import the state in the state file
Actual Behavior
Prompting error and not saving it to state file.
Steps to Reproduce
terraform import google_compute_router_nat.nat-gateway us-west2/core-router/nat-gateway
The text was updated successfully, but these errors were encountered: