forked from concourse/concourse-bosh-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add base AWS SSM Ops File along with additional properties (con…
…course#259) Signed-off-by: Kevin Bimonte <[email protected]>
- Loading branch information
Kevin Bimonte
committed
Oct 26, 2024
1 parent
242a75a
commit 5514740
Showing
5 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# This operations file will use remove the AWS SSM | ||
# Access and Secret Access Key to instead use the instance | ||
# profile of the web node. | ||
# | ||
# Requires the aws-ssm-manager.yml ops file | ||
|
||
--- | ||
- type: remove | ||
path: /instance_groups/name=web/jobs/name=web/properties/aws_ssm/access_key | ||
|
||
- type: remove | ||
path: /instance_groups/name=web/jobs/name=web/properties/aws_ssm/secret_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# This operations file will add AWS SSM Secrets Manager Support to | ||
# the web node | ||
|
||
--- | ||
- type: replace | ||
path: /instance_groups/name=web/jobs/name=web/properties/aws_ssm? | ||
value: | ||
access_key: ((aws_ssm.access_key)) | ||
secret_key: ((aws_ssm.secret_key)) | ||
region: ((aws_ssm.region)) | ||
|
||
pipeline_secret_template: ((aws_ssm.pipeline_secret_template)) | ||
# default value is /concourse/{{.Team}}/{{.Pipeline}}/{{.Secret}} | ||
|
||
team_secret_template: ((aws_ssm.team_secret_template)) | ||
# default value is /concourse/{{.Team}}/{{.Secret}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# This operations file will use a Session Token instead of | ||
# a pair of Access and Secret Access Keys | ||
# | ||
# Requires the aws-ssm-manager.yml ops file | ||
|
||
--- | ||
- type: remove | ||
path: /instance_groups/name=web/jobs/name=web/properties/aws_ssm/access_key | ||
|
||
- type: remove | ||
path: /instance_groups/name=web/jobs/name=web/properties/aws_ssm/secret_key | ||
|
||
- type: replace | ||
path: /instance_groups/name=web/jobs/name=web/properties/aws_ssm/session_token | ||
value: ((aws_ssm_session_token)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# This operations file will add a shared path route | ||
# in order to define secrets accessible by all teams. | ||
# | ||
# Requires the aws-ssm-manager.yml ops file | ||
|
||
--- | ||
- type: replace | ||
path: /instance_groups/name=web/jobs/name=web/properties/aws_ssm/shared_path? | ||
value: ((aws_ssm_shared_path)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters