aws-ia/taskcat

Incorrect test name displayed in CloudFormation Stack tags deployed using taskcat test run.

praveenis opened this issue · 0 comments

Describe the bug
Incorrect test name displayed in CloudFormation Stack tags deployed using taskcat test run.

To Reproduce
Steps to reproduce the behavior:

  1. Are you testing a QuickStart or Custom template? Custom template
  2. Attach or link a copy of the template if possible (remove any sensitive info)

Description: '(SO0101) - The AWS CloudFormation hub template for Solutions Engineering Test Solution, Version: v1.0.0'
Resources:
RandomBucket:
Type: 'AWS::S3::Bucket'
DeletionPolicy: Delete
Properties:
BucketName: !Join
- '-'
- - 'nightswatch-testing-bucket-prrjaa'
- !Ref AWS::Region
Outputs:
S3BucketName:
Value: !Ref RandomBucket
Export:
Name: S3BucketName

  1. Provide the parameters that you passed. (remove any sensitive info)

No Input parameters

taskcat.yml

general:
auth:
default: TEST_ACCOUNT
project:
name: s3
shorten_stack_name: true
template: s3testing.template
tests:
s3-t1:
parameters: {}
regions:
- us-east-2
s3-t2:
parameters: {}
regions:
- us-west-2
s3-t3:
parameters: {}
regions:
- eu-west-1
s3-t4:
parameters: {}
regions:
- ap-southeast-1
s3-t5:
parameters: {}
regions:
- ca-central-1
s3-t6:
parameters: {}
regions:
- sa-east-1

  1. How did you install taskcat? (docker or pip3)

taskcat test run

  1. Are you using a profile, an instance role or access keys to run taskcat? profile
  2. Is your AWS environment configured via aws configure? yes

Expected behavior
correct test name should be displayed in CloudFormation Stack tags.

Screenshots
image

**Version (Please make sure you are running the latest version of taskcat)

  • Taskcat Version 0.9.41

Note: Python Version 3.10.12

Note: both version should match

Additional context
Some time multiple tags are displayed under deployed cloudformation stack

image