Skip to content

Commit

Permalink
Merge pull request #2 from pivotal/feat/add-s3-with-arn-resource
Browse files Browse the repository at this point in the history
Feat/add s3 with arn resource
  • Loading branch information
Ryan Hall authored Jul 19, 2023
2 parents 54d0bae + eba05a4 commit de8f088
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions pipelines/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,41 +35,52 @@ groups:
# Groups end yaml

# code_snippet reference-resources-s3 start yaml
resource_types:
- name: s3-with-arn
type: docker-image
source:
repository: concourse/s3-resource
tag: 1.2.1-ubuntu

resources:
- name: platform-automation-tasks
type: s3
type: s3-with-arn
source:
access_key_id: ((s3_access_key_id))
secret_access_key: ((s3_secret_access_key))
access_key_id: ((s3_with_role.access_key_id))
secret_access_key: ((s3_with_role.secret_access_key))
aws_role_arn: ((s3_with_role.role_arn))
region_name: ((s3_region_name))
bucket: ((s3_pivnet_products_bucket))
regexp: .*tasks-(.*).zip

- name: platform-automation-image
type: s3
type: s3-with-arn
source:
access_key_id: ((s3_access_key_id))
secret_access_key: ((s3_secret_access_key))
access_key_id: ((s3_with_role.access_key_id))
secret_access_key: ((s3_with_role.secret_access_key))
aws_role_arn: ((s3_with_role.role_arn))
region_name: ((s3_region_name))
bucket: ((s3_pivnet_products_bucket))
regexp: .*image-(.*).tgz

- name: telemetry-collector-binary
type: s3
type: s3-with-arn
source:
access_key_id: ((s3_access_key_id))
secret_access_key: ((s3_secret_access_key))
access_key_id: ((s3_with_role.access_key_id))
secret_access_key: ((s3_with_role.secret_access_key))
aws_role_arn: ((s3_with_role.role_arn))
region_name: ((s3_region_name))
bucket: ((s3_pivnet_products_bucket))
regexp: .*telemetry-(.*).tgz
# code_snippet reference-resources-s3 end yaml

# code_snippet export-installation-resource-usage start yaml
- name: installation
type: s3
type: s3-with-arn
source:
access_key_id: ((s3_access_key_id))
secret_access_key: ((s3_secret_access_key))
access_key_id: ((s3_with_role.access_key_id))
secret_access_key: ((s3_with_role.secret_access_key))
aws_role_arn: ((s3_with_role.role_arn))
region_name: ((s3_region_name))
bucket: ((s3_installation_bucket))
regexp: ((foundation))-installation-(.*).zip
Expand All @@ -78,12 +89,13 @@ resources:
# code_snippet resources-configurations start yaml
# VM state and foundation configuration
- name: state
type: s3
type: s3-with-arn
source:
access_key_id: ((s3_access_key_id))
access_key_id: ((s3_with_role.access_key_id))
secret_access_key: ((s3_with_role.secret_access_key))
aws_role_arn: ((s3_with_role.role_arn))
bucket: ((s3_foundation_state_bucket))
region_name: ((s3_region_name))
secret_access_key: ((s3_secret_access_key))
versioned_file: state-((foundation)).yml
initial_content_text: '{}'
initial_version: 'empty-start'
Expand Down

0 comments on commit de8f088

Please sign in to comment.