Skip to content

Commit d18d0db

Browse files
committed
copier update
1 parent c1f1116 commit d18d0db

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v0.0.7-5-ge3a7e35
2+
_commit: v0.0.7-6-g7d6bd40
33
_src_path: gh:LabAutomationAndScreening/copier-base-template.git
44
description: Copier template for creating Python libraries and executables
55
python_ci_versions:

.devcontainer/create-aws-profile.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ else
99
LOCALSTACK_ENDPOINT_URL="http://localstack:4566"
1010
fi
1111

12+
cat >> ~/.aws/credentials <<EOF
13+
[localstack]
14+
aws_access_key_id=test
15+
aws_secret_access_key=test
16+
EOF
17+
1218
cat >> ~/.aws/config <<EOF
1319
[profile localstack]
1420
region=us-east-1
1521
output=json
1622
endpoint_url = $LOCALSTACK_ENDPOINT_URL
1723
EOF
18-
cat >> ~/.aws/credentials <<EOF
19-
[localstack]
20-
aws_access_key_id=test
21-
aws_secret_access_key=test
22-
EOF

copier.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ aws_central_infrastructure_account_id:
5959
help: What's the ID of your Organization's AWS Account containing Central Infrastructure (e.g. CodeArtifact)?
6060
when: "{{ python_package_registry == 'AWS CodeArtifact' }}"
6161

62+
core_infra_base_access_profile_name:
63+
type: str
64+
help: What's the AWS Identity Center Profile name for base access to the Central Infrastructure account (i.e. to read from CodeArtifact)?
65+
when: "{{ python_package_registry == 'AWS CodeArtifact' }}"
66+
default: CoreInfraBaseAccess
67+
6268

6369

6470

template/.devcontainer/create-aws-profile.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ else
99
LOCALSTACK_ENDPOINT_URL="http://localstack:4566"
1010
fi
1111

12+
cat >> ~/.aws/credentials <<EOF
13+
[localstack]
14+
aws_access_key_id=test
15+
aws_secret_access_key=test
16+
EOF
17+
1218
cat >> ~/.aws/config <<EOF
1319
[profile localstack]
1420
region=us-east-1
1521
output=json
1622
endpoint_url = $LOCALSTACK_ENDPOINT_URL
1723
EOF
18-
cat >> ~/.aws/credentials <<EOF
19-
[localstack]
20-
aws_access_key_id=test
21-
aws_secret_access_key=test
22-
EOF

0 commit comments

Comments
 (0)