insert secrets dynamically, expect uniqueness to fail
parent
d4099caeff
commit
b379560f74
|
|
@ -487,7 +487,7 @@ class AWS {
|
||||||
${secret.ParameterKey}:
|
${secret.ParameterKey}:
|
||||||
Type: String
|
Type: String
|
||||||
Default: ''
|
Default: ''
|
||||||
`;
|
`;
|
||||||
taskDefCloudFormation = [
|
taskDefCloudFormation = [
|
||||||
taskDefCloudFormation.slice(0, indexp1),
|
taskDefCloudFormation.slice(0, indexp1),
|
||||||
template1,
|
template1,
|
||||||
|
|
@ -500,7 +500,7 @@ class AWS {
|
||||||
Properties:
|
Properties:
|
||||||
Name: !Join [ "", [ '${secret.ParameterKey}', !Ref BUILDID ] ]
|
Name: !Join [ "", [ '${secret.ParameterKey}', !Ref BUILDID ] ]
|
||||||
SecretString: !Ref ${secret.ParameterKey}
|
SecretString: !Ref ${secret.ParameterKey}
|
||||||
`;
|
`;
|
||||||
taskDefCloudFormation = [
|
taskDefCloudFormation = [
|
||||||
taskDefCloudFormation.slice(0, indexp2),
|
taskDefCloudFormation.slice(0, indexp2),
|
||||||
template2,
|
template2,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -342,7 +342,7 @@ class AWS {
|
||||||
${secret.ParameterKey}:
|
${secret.ParameterKey}:
|
||||||
Type: String
|
Type: String
|
||||||
Default: ''
|
Default: ''
|
||||||
`;
|
`;
|
||||||
taskDefCloudFormation = [
|
taskDefCloudFormation = [
|
||||||
taskDefCloudFormation.slice(0, indexp1),
|
taskDefCloudFormation.slice(0, indexp1),
|
||||||
template1,
|
template1,
|
||||||
|
|
@ -355,7 +355,7 @@ class AWS {
|
||||||
Properties:
|
Properties:
|
||||||
Name: !Join [ "", [ '${secret.ParameterKey}', !Ref BUILDID ] ]
|
Name: !Join [ "", [ '${secret.ParameterKey}', !Ref BUILDID ] ]
|
||||||
SecretString: !Ref ${secret.ParameterKey}
|
SecretString: !Ref ${secret.ParameterKey}
|
||||||
`;
|
`;
|
||||||
taskDefCloudFormation = [
|
taskDefCloudFormation = [
|
||||||
taskDefCloudFormation.slice(0, indexp2),
|
taskDefCloudFormation.slice(0, indexp2),
|
||||||
template2,
|
template2,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue