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

iam-common is overwritten during deploy #427

Open
chris-d-edwards opened this issue Apr 1, 2019 · 4 comments
Open

iam-common is overwritten during deploy #427

chris-d-edwards opened this issue Apr 1, 2019 · 4 comments

Comments

@chris-d-edwards
Copy link

Raising on suggestion from Michael Neil on Gitter

During a mu deploy, i create 4 environments from my single environment mu file, in that file i have a custom cf template for the iam-common to add in EFS permissions.
Nothing to strange, but when i deploy a service, db, or pipeline, the iam-common is overwritten.
Is this by design ?
is there a way to stop this ?
I guess the simple answer is to include the CF piece into each mu file, but it seems overkill.

@karlskidmore
Copy link

@chris-d-edwards Did you ever find a way around this? I think I may have just hit this -- I have two services / two mu.yml files, one has an ElastiCache extension that extends the iam-common role, but as soon as the second service is deployed it zaps what that extension added. 🤦‍♂️

@chris-d-edwards
Copy link
Author

Update on this, I have added my custom CFN into each mu.yml file

@karlskidmore
Copy link

@chris-d-edwards I don't know if this is a daft idea, but maybe worth a try.... When calling mu pass in the --disable-iam flag on all but the first service?

@chris-d-edwards
Copy link
Author

@karlskidmore possibly, I am trying to take the generated CFN and then running that separately now, rather than letting mu control the whole process

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