diff --git a/.gitignore b/.gitignore index d9fb2123..aa66938b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .nyc_output/ coverage/ vendor/ +node_modules diff --git a/lib/template.js b/lib/template.js index 2d9fe7f8..3c11e660 100644 --- a/lib/template.js +++ b/lib/template.js @@ -949,11 +949,11 @@ module.exports = (options = {}) => { } }; - const outputs = { - ClusterArn: { - Description: 'Service cluster ARN', - Value: options.cluster - } + const outputs = {}; + + outputs[prefixed('ClusterArn')] = { + Description: 'Service cluster ARN', + Value: options.cluster }; outputs[prefixed('DeadLetterQueueUrl')] = { diff --git a/test/__snapshots__/template.spec.js.snap b/test/__snapshots__/template.spec.js.snap index 14cec9b7..0384e7cb 100644 --- a/test/__snapshots__/template.spec.js.snap +++ b/test/__snapshots__/template.spec.js.snap @@ -64,7 +64,7 @@ Object { "EcsWatchbotVersion": "4.20.2", }, "Outputs": Object { - "ClusterArn": Object { + "SoupClusterArn": Object { "Description": "Service cluster ARN", "Value": "processing", }, @@ -1440,7 +1440,7 @@ Object { "EcsWatchbotVersion": "4.20.2", }, "Outputs": Object { - "ClusterArn": Object { + "SoupClusterArn": Object { "Description": "Service cluster ARN", "Value": "processing", }, @@ -2814,7 +2814,7 @@ Object { "EcsWatchbotVersion": "4.20.2", }, "Outputs": Object { - "ClusterArn": Object { + "SoupClusterArn": Object { "Description": "Service cluster ARN", "Value": "processing", }, @@ -4188,7 +4188,7 @@ Object { "EcsWatchbotVersion": "4.20.2", }, "Outputs": Object { - "ClusterArn": Object { + "SoupClusterArn": Object { "Description": "Service cluster ARN", "Value": "processing", }, @@ -5562,7 +5562,7 @@ Object { "EcsWatchbotVersion": "4.20.2", }, "Outputs": Object { - "ClusterArn": Object { + "WatchbotClusterArn": Object { "Description": "Service cluster ARN", "Value": "processing", }, @@ -6798,7 +6798,7 @@ Object { "EcsWatchbotVersion": "4.20.2", }, "Outputs": Object { - "ClusterArn": Object { + "WatchbotClusterArn": Object { "Description": "Service cluster ARN", "Value": "processing", }, @@ -7976,7 +7976,7 @@ Object { "EcsWatchbotVersion": "4.20.2", }, "Outputs": Object { - "ClusterArn": Object { + "WatchbotClusterArn": Object { "Description": "Service cluster ARN", "Value": "processing", },