-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
AWS EFS file system resource error after deletion #7433
Labels
Comments
stack72
added a commit
that referenced
this issue
Jun 30, 2016
Fixes #7433 When an EFS File System is created via Terraform, Deleted from the AWS console, then Terraform would give us as error as: ``` * aws_efs_file_system.file_system: FileSystemNotFound: File system 'fs-9d739e54' does not exist. status code: 404, request id: d505a682-3ec7-11e6-81d3-1d41202f0881 ``` On a 404, we now remove the EFS File System from state so that Terraform can recreate it as expected
stack72
added a commit
that referenced
this issue
Jul 5, 2016
Fixes #7433 When an EFS File System is created via Terraform, Deleted from the AWS console, then Terraform would give us as error as: ``` * aws_efs_file_system.file_system: FileSystemNotFound: File system 'fs-9d739e54' does not exist. status code: 404, request id: d505a682-3ec7-11e6-81d3-1d41202f0881 ``` On a 404, we now remove the EFS File System from state so that Terraform can recreate it as expected
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
ghost
unassigned stack72
Apr 24, 2020
ghost
locked and limited conversation to collaborators
Apr 24, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.6.16 ( on Centos 6.7 )
Affected Resource(s)
aws_efs_file_system
Behaviour
Creating an aws_efs_file_system resource through terraform, then deleting in the AWS console, then running terraform again reports an error, whereas it should recreate the resource as per other resources.
Steps to Reproduce
terraform apply
terraform apply
Simple Test Case
Workaround
Remove the resource by editing the .tfstate
The text was updated successfully, but these errors were encountered: