Skip to content

Commit

Permalink
Update example for ElasticBeanstalk OptionSettings property rename
Browse files Browse the repository at this point in the history
  • Loading branch information
markpeek committed Jul 5, 2021
1 parent 1547838 commit d798f62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/ElasticBeanstalk_Nodejs_Sample.py
Expand Up @@ -10,7 +10,7 @@
ApplicationVersion,
ConfigurationTemplate,
Environment,
OptionSettings,
OptionSetting,
SourceBundle,
)
from troposphere.iam import InstanceProfile
Expand Down Expand Up @@ -151,12 +151,12 @@
Description="SSH access to Node.JS Application",
SolutionStackName="64bit Amazon Linux 2014.03 v1.0.9 running Node.js",
OptionSettings=[
OptionSettings(
OptionSetting(
Namespace="aws:autoscaling:launchconfiguration",
OptionName="EC2KeyName",
Value=Ref("KeyName"),
),
OptionSettings(
OptionSetting(
Namespace="aws:autoscaling:launchconfiguration",
OptionName="IamInstanceProfile",
Value=Ref("WebServerInstanceProfile"),
Expand Down

0 comments on commit d798f62

Please sign in to comment.