-
Notifications
You must be signed in to change notification settings - Fork 64
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
Configure aws terraform to allow multiple efs #4498
Configure aws terraform to allow multiple efs #4498
Conversation
Terraform output
|
Will try a dry-run of |
Because of the extra complexities of creating mount targets in each network subnet, there had to be 5 state mv commands: terraform state mv 'aws_efs_file_system.homedirs' 'aws_efs_file_system.homedirs["filestore"]'
terraform state mv 'aws_efs_backup_policy.homedirs' 'aws_efs_backup_policy.homedirs["filestore"]'
terraform state mv 'aws_efs_mount_target.homedirs["subnet-0048ebd5f1c78fc2f"]' 'aws_efs_mount_target.homedirs["subnet-0048ebd5f1c78fc2f.fs-b25253b5"]'
terraform state mv 'aws_efs_mount_target.homedirs["subnet-0c6a10d3839a0697d"]' 'aws_efs_mount_target.homedirs["subnet-0c6a10d3839a0697d.fs-b25253b5"]'
terraform state mv 'aws_efs_mount_target.homedirs["subnet-0dcca381809b80b79"]' 'aws_efs_mount_target.homedirs["subnet-0dcca381809b80b79.fs-b25253b5"]' And now the
|
So, I did something else in order to avoid running the The last commit keeps the original EFS related terraform resources and just adds new ones to account for the new map of EFSes that's now possible. I verified this on the 2i2c-aws-us cluster and with the current code it's a no-op, so that's good. I will leave this as it is atm because it's late and don't want to mess anything, but tomorrow I will need to run So until tomorow terraform state for openscapes is currently broken. |
In its current state, the
So I'll go ahead and merge this PR since it's not breaking anything existing |
Fixes #4461