Skip to content

Commit

Permalink
fix: example config file inaccurately documents allow_ec2_instance_pr…
Browse files Browse the repository at this point in the history
…ofile (#278)

Signed-off-by: Josh Usiskin <56369778+jusiskin@users.noreply.github.com>
  • Loading branch information
jusiskin authored Apr 1, 2024
1 parent ff9f381 commit 1d1ecc1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/deadline_worker_agent/installer/worker.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@
#
# '0', 'off', 'f', 'false', 'n', 'no', '1', 'on', 't', 'true', 'y', 'yes'.
#
# or if the --allow-instance-profile command-line flag is specified.
# or if the --disallow-instance-profile command-line flag is specified.
#
# By default, this value is false and the worker agent makes requests to the EC2 instance meta-data
# service (IMDS) to check for an instance profile. If an instance profile is detected, the worker
# agent will stop and exit.
# By default, this value is true and the worker agent will run with or without an instance profile
# if the worker is on an EC2 host. If this value is false, the worker host will query the EC2
# instance meta-data service (IMDS) to check for an instance profile. If an instance profile is
# detected, the worker agent will stop and exit.
#
# ***************************************** WARNING *****************************************
# * *
Expand All @@ -82,10 +83,10 @@
# * *
# *******************************************************************************************
#
# To accept this risk and allow the worker agent to run with an EC2 instance profile, uncomment
# the line below:
# To turn on this feature and have the worker agent not run with an EC2 instance profile,
# uncomment the line below:
#
# allow_ec2_instance_profile = true
# allow_ec2_instance_profile = false

[logging]

Expand Down

0 comments on commit 1d1ecc1

Please sign in to comment.