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

Added option to automatically allow access for Datapipeline controlled instance to the backed up EFS #4

Merged
merged 6 commits into from
Aug 24, 2017

Conversation

s2504s
Copy link
Contributor

@s2504s s2504s commented Aug 23, 2017

What

  • Used EFS mount target as datasource
  • Added the ability to change security group rules inside the module

Why

  • aws_efs_mount_target exists for each EFS and provides more info than the datasource aws_efs_file_system. Also, we no longer need to remember that we should add an allow rule to EFS security groups.

@s2504s s2504s requested review from osterman and const-bon August 23, 2017 12:47
@s2504s s2504s self-assigned this Aug 23, 2017
@s2504s s2504s changed the title * Added the ability to changing security group rules inside the module Added the ability to changing security group rules inside the module Aug 23, 2017
@s2504s s2504s changed the title Added the ability to changing security group rules inside the module Added the ability to change security group rules inside the module Aug 23, 2017
README.md Outdated
@@ -51,7 +46,8 @@ output "efs_backup_security_group" {
| name | `` | Name (e.g. `efs-backup`) | Yes |
| region | `us-east-1` | AWS Region where module should operate (e.g. `us-east-1`)| Yes |
| vpc_id | `` | AWS VPC ID where module should operate (e.g. `vpc-a22222ee`)| Yes |
| efs_ids | [] | List of EFS ID | Yes |
| efs_mount_target_id | `` | Elastic File System Mount Target (EFS) | Yes |
| change_security_group | `false` | Should the module modify EFS security groups | No |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to modify_security_group

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change is confusing because it could mean you will replace the security group.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed

osterman
osterman previously approved these changes Aug 23, 2017
@const-bon const-bon changed the title Added the ability to change security group rules inside the module Added option to allow access for Datapipeline controlled instance to the backed up EFS Aug 24, 2017
@const-bon const-bon changed the title Added option to allow access for Datapipeline controlled instance to the backed up EFS Added option to automatically allow access for Datapipeline controlled instance to the backed up EFS Aug 24, 2017
@const-bon const-bon merged commit 11fa75f into master Aug 24, 2017
@const-bon const-bon deleted the efs_mount_point branch August 24, 2017 14:26
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

Successfully merging this pull request may close these issues.

3 participants