Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions packages/aws-cdk/test/integ/cli.exclusions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,10 @@ For example:

*/
const exclusions = [
{
"test": "test-cdk-deploy-with-parameters.sh",
"version": "v1.31.0",
"justification": "This test doesn't use a unique sns topic name and it collides with our regular integ suite"
},
{
"test": "test-cdk-deploy-wildcard-with-parameters.sh",
"version": "v1.31.0",
"justification": "This test doesn't use a unique sns topic name and it collides with our regular integ suite"
},
{
"test": "test-cdk-deploy-nested-stack-with-parameters.sh",
"version": "v1.31.0",
"justification": "This test doesn't use a unique sns topic name and it collides with our regular integ suite"
"version": "v1.37.0",
"justification": "This test doesn't use a unique sns topic name for the topic in the nested stack and it collides with our regular integ suite"
}
]

Expand Down
8 changes: 4 additions & 4 deletions packages/aws-cdk/test/integ/cli/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ParameterStack extends cdk.Stack {
super(parent, id, props);

new sns.Topic(this, 'TopicParameter', {
topicName: new cdk.CfnParameter(this, 'TopicNameParam')
topicName: new cdk.CfnParameter(this, 'TopicNameParam').valueAsString
});
}
}
Expand All @@ -56,7 +56,7 @@ class OtherParameterStack extends cdk.Stack {
super(parent, id, props);

new sns.Topic(this, 'TopicParameter', {
topicName: new cdk.CfnParameter(this, 'OtherTopicNameParam')
topicName: new cdk.CfnParameter(this, 'OtherTopicNameParam').valueAsString
});
}
}
Expand All @@ -66,10 +66,10 @@ class MultiParameterStack extends cdk.Stack {
super(parent, id, props);

new sns.Topic(this, 'TopicParameter', {
displayName: new cdk.CfnParameter(this, 'DisplayNameParam')
displayName: new cdk.CfnParameter(this, 'DisplayNameParam').valueAsString
});
new sns.Topic(this, 'OtherTopicParameter', {
displayName: new cdk.CfnParameter(this, 'OtherDisplayNameParam')
displayName: new cdk.CfnParameter(this, 'OtherDisplayNameParam').valueAsString
});
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-cdk/test/integ/cli/app/nested-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class MyNestedStack extends cfn.NestedStack {
class StackWithNestedStackUsingParameters extends Stack {
constructor(scope, id) {
super(scope, id);
new CfnParameter(this, 'MyTopicParam');
const topicNameParam = new CfnParameter(this, 'MyTopicParam');
new MyNestedStackUsingParameters(this, 'MyNested', {
parameters: {'MyTopicParam': 'ThereIsASpoon'}
parameters: {'MyTopicParam': topicNameParam.valueAsString}
});
}
}
Expand Down