Skip to content
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

Variable FILESYSTEMID picking multiple EFS File System ID #32

Closed
Alan111S opened this issue Aug 12, 2020 · 2 comments
Closed

Variable FILESYSTEMID picking multiple EFS File System ID #32

Alan111S opened this issue Aug 12, 2020 · 2 comments
Assignees

Comments

@Alan111S
Copy link

Alan111S commented Aug 12, 2020

Given ... An AWS account containing multiple CPD systems, each in their own VPC, each with an EFS file system in a particular region
When ... running Terraform apply
Expected ... Code in delete-efs.sh and ocp-install.tf for FILESYSTEMID which is used to determine the EFS File System Id is supposed to return only one value.
Actual ... This code in delete-efs.sh and ocp-install.tf for FILESYSTEMID=aws efs describe-file-systems --query 'FileSystems[*].FileSystemId' --output text returns multiple File System IDs when there is more than one EFS file system in the AWS account in a particular region

@Alan111S
Copy link
Author

Alan111S commented Aug 12, 2020

If CLUSTERID environment variable is set, this code will pick the correct id:-
aws efs describe-file-systems --query FileSystems[?Name==\'$CLUSTERID-efs\'].FileSystemId --output text

@Alan111S
Copy link
Author

The code for the FILESYSTEM_ID in create-efs.sh is working ok by the way. It's only delete-efs.sh and ocp-install.tf that have an issue

@satyamodi satyamodi self-assigned this Sep 1, 2020
shaithal added a commit that referenced this issue Sep 1, 2020
satyamodi pushed a commit that referenced this issue Nov 20, 2020
resource quota validation changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants