insert test template into cloud formation at all 3 template positions and log
parent
89a0db42cc
commit
97d1a5bb54
|
|
@ -485,8 +485,7 @@ class AWS {
|
|||
const template1 = `
|
||||
AWSSecretAccessKeyssss:
|
||||
Type: String
|
||||
Default: '0'
|
||||
`;
|
||||
Default: '0'`;
|
||||
taskDefCloudFormation = [
|
||||
taskDefCloudFormation.slice(0, indexp1),
|
||||
template1,
|
||||
|
|
@ -498,8 +497,7 @@ class AWS {
|
|||
Type: AWS::SecretsManager::Secret
|
||||
Properties:
|
||||
Name: !Join [ "", [ 'testsec', !Ref BUILDID ] ]
|
||||
SecretString: !Ref AWSSecretAccessKey
|
||||
`;
|
||||
SecretString: !Ref AWSSecretAccessKey`;
|
||||
taskDefCloudFormation = [
|
||||
taskDefCloudFormation.slice(0, indexp2),
|
||||
template2,
|
||||
|
|
@ -508,8 +506,7 @@ class AWS {
|
|||
const indexp3 = taskDefCloudFormation.search(p3string) + p3string.length + '\n'.length;
|
||||
const template3 = `
|
||||
- Name: 'test'
|
||||
ValueFrom: !Ref GithubTokenSecret
|
||||
`;
|
||||
ValueFrom: !Ref GithubTokenSecret`;
|
||||
taskDefCloudFormation = [
|
||||
taskDefCloudFormation.slice(0, indexp3),
|
||||
template3,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -340,8 +340,7 @@ class AWS {
|
|||
const template1 = `
|
||||
AWSSecretAccessKeyssss:
|
||||
Type: String
|
||||
Default: '0'
|
||||
`;
|
||||
Default: '0'`;
|
||||
taskDefCloudFormation = [
|
||||
taskDefCloudFormation.slice(0, indexp1),
|
||||
template1,
|
||||
|
|
@ -353,8 +352,7 @@ class AWS {
|
|||
Type: AWS::SecretsManager::Secret
|
||||
Properties:
|
||||
Name: !Join [ "", [ 'testsec', !Ref BUILDID ] ]
|
||||
SecretString: !Ref AWSSecretAccessKey
|
||||
`;
|
||||
SecretString: !Ref AWSSecretAccessKey`;
|
||||
taskDefCloudFormation = [
|
||||
taskDefCloudFormation.slice(0, indexp2),
|
||||
template2,
|
||||
|
|
@ -363,8 +361,7 @@ class AWS {
|
|||
const indexp3 = taskDefCloudFormation.search(p3string) + p3string.length + '\n'.length;
|
||||
const template3 = `
|
||||
- Name: 'test'
|
||||
ValueFrom: !Ref GithubTokenSecret
|
||||
`;
|
||||
ValueFrom: !Ref GithubTokenSecret`;
|
||||
taskDefCloudFormation = [
|
||||
taskDefCloudFormation.slice(0, indexp3),
|
||||
template3,
|
||||
|
|
|
|||
Loading…
Reference in New Issue