Loading...
Loading...
### Terraform Version ```shell 1.13.0 ``` aws provider version `6.19.0` ### Terraform Configuration Files ```terraform provider "aws" { profile = "sandbox" region = "ap-southeast-2" } aws_vpc "this" { region = "us-west-2" # other correct configs. } aws_vpc "extra"{ region = "ap-southest-2" # other correct configs. } ``` ### Debug Output ``` ...debug output, or link to a gist... ``` ### Expected Behavior should be able to be imported ### Actual Behavior While attempting to import an existing object to │ "aws_vpc.this", the provider detected that no object exists │ with the given id. Only pre-existing objects can be imported; check that the id is correct and that it is associated with │ the provider's configured region or endpoint, or use "terraform apply" to create a new remote object for this resource. ╵ ### Steps to Reproduce both vpcs are existent already so try to import the existent vpc using its vpcid. terraform init terraform import aws_vpc.this terraform import aws_vpc.extra ### Additional Context if i change provider region to us-west-2,import works for aws_vpc.this after import successful, i make provider region to "ap-southeast-2" and do a terraform plan, things work, i think that means, the plan can properly retrieve the resource region but the issue is in terraform import. _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.