insert secrets dynamically, expect uniqueness to fail

pull/263/head
Frostebite 2021-05-02 02:31:38 +01:00
parent d4099caeff
commit b379560f74
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -487,7 +487,7 @@ class AWS {
${secret.ParameterKey}:
Type: String
Default: ''
`;
`;
taskDefCloudFormation = [
taskDefCloudFormation.slice(0, indexp1),
template1,
@ -500,7 +500,7 @@ class AWS {
Properties:
Name: !Join [ "", [ '${secret.ParameterKey}', !Ref BUILDID ] ]
SecretString: !Ref ${secret.ParameterKey}
`;
`;
taskDefCloudFormation = [
taskDefCloudFormation.slice(0, indexp2),
template2,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -342,7 +342,7 @@ class AWS {
${secret.ParameterKey}:
Type: String
Default: ''
`;
`;
taskDefCloudFormation = [
taskDefCloudFormation.slice(0, indexp1),
template1,
@ -355,7 +355,7 @@ class AWS {
Properties:
Name: !Join [ "", [ '${secret.ParameterKey}', !Ref BUILDID ] ]
SecretString: !Ref ${secret.ParameterKey}
`;
`;
taskDefCloudFormation = [
taskDefCloudFormation.slice(0, indexp2),
template2,