diff --git a/templates/argo-tasks/copy.yml b/templates/argo-tasks/copy.yml index 736fb705..58184dfa 100644 --- a/templates/argo-tasks/copy.yml +++ b/templates/argo-tasks/copy.yml @@ -32,6 +32,7 @@ spec: - name: aws-role-config-path description: The path(s) to the aws configs that enable writing to buckets + default: "s3://linz-bucket-config/config-write.imagery.json,s3://linz-bucket-config/config-write.elevation.json,s3://linz-bucket-config/config-write.topographic.json" container: image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}" @@ -42,7 +43,7 @@ spec: command: [node, /app/index.js] env: - name: AWS_ROLE_CONFIG_PATH - value: "{{inputs.parameters.aws-role-config-path}}" + value: "{{inputs.parameters.aws-role-config-path}}, s3://linz-bucket-config/config.json" args: [ "copy", diff --git a/workflows/imagery/publish-copy.yaml b/workflows/imagery/publish-copy.yaml index 6c0ad2dc..16d4ab1e 100644 --- a/workflows/imagery/publish-copy.yaml +++ b/workflows/imagery/publish-copy.yaml @@ -105,8 +105,6 @@ spec: value: "{{item}}" - name: version-argo-tasks value: "{{workflow.parameters.version-argo-tasks}}" - - name: aws-role-config-path - value: "s3://linz-bucket-config/config.json" depends: "create-manifest-github.Succeeded" withParam: "{{tasks.create-manifest-github.outputs.parameters.files}}"