You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using .ebextensions custom configs I provide a value for the property IamInstanceProfile under the aws:autoscaling:launchconfiguration namespace. When calling eb create or eb deploy this value is ignored and instead uses the default aws-elasticbeanstalk-ec2-role role. If I edit the config via eb config and set the IamInstanceProfile property to null, it correctly sets the role according to what is in .ebextensions suggesting the config files themselves are fine.
Steps to reproduce
Any standard setup, with the addition of an .ebextensions config file including the content:
Ah yes you're right, I can see towards the bottom there are two options in that namespace that have recommended values set, though I'm unsure why this "recommended" value should override my explicit definition when creating the environment, at that point it's mandated, not recommended. Though I suppose the same goes for all of those recommended values.
Perhaps since it is documented this should be considered a feature request rather than a bug report.
Same in here. And that's a big limitation to me as it defined permissions of EB's EC2 and services so it should be done everytime. Making partial IaC is useless.
In the documentation, no workaround is proposed. And using another CLI to get rid of others CLI limitations is a very poor experience. Having to use sam cli, aws cli, eb cli and web console make things really complex.
Description
When using .ebextensions custom configs I provide a value for the property IamInstanceProfile under the aws:autoscaling:launchconfiguration namespace. When calling
eb create
oreb deploy
this value is ignored and instead uses the defaultaws-elasticbeanstalk-ec2-role
role. If I edit the config viaeb config
and set the IamInstanceProfile property to null, it correctly sets the role according to what is in .ebextensions suggesting the config files themselves are fine.Steps to reproduce
Any standard setup, with the addition of an .ebextensions config file including the content:
Run
eb create
with usual params, making sure no-ip
flag is provided.Expected result
Would expect the environment to be created or updated with the value existing in the relevant namespace option.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
The text was updated successfully, but these errors were encountered: