Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Missing Tags in output for CFN #34

Open
ustrahlendorf opened this issue Mar 18, 2019 · 2 comments
Open

Missing Tags in output for CFN #34

ustrahlendorf opened this issue Mar 18, 2019 · 2 comments
Labels
new-mapping New mapping request

Comments

@ustrahlendorf
Copy link

Describe the bug
Noticed that Tags seems not get transferred into the output for CFN.
Output for boto3 has the tags included.
example for CFN:
Resources:
ec20062a21:
Type: "AWS::EC2::VPC"
Properties:
CidrBlock: "10.1.0.0/16"
InstanceTenancy: "default"
Resources:
ec20062a21:
Type: "AWS::EC2::VPC"
Properties:
CidrBlock: "10.1.0.0/16"
InstanceTenancy: "default"

ec2eb57359:
    Type: "AWS::EC2::InternetGateway"

Same resource in Boto3:
response = ec2_client.create_vpc(
CidrBlock='10.1.0.0/16',
AmazonProvidedIpv6CidrBlock=False,
InstanceTenancy='default'
)
response = ec2_client.create_tags(
Resources=[
'vpc-0192bf319969f9c91'
],
Tags=[
{
'key': 'Name',
'value': 'LabVPC'
}
]
)
response = ec2_client.describe_vpcs()
response = ec2_client.describe_account_attributes()
response = ec2_client.describe_account_attributes()
response = ec2_client.describe_internet_gateways()
response = ec2_client.create_internet_gateway(
)
response = ec2_client.create_tags(
Resources=[
'igw-0ad4370f4e7ebd627'
],
Tags=[
{
'key': 'Name',
'value': 'LabIGW'
}
]
)
Seems that create tags is not mapped.

@iann0036
Copy link
Owner

Hi Uwe,

Thanks for raising. The reason this wasn't captured is because only the details in the initial call is currently captured. This is a huge amount of work to the project and I'm currently working on some alternatives for this, but don't expect anything in the next month or so.

For now, you'll probably have to map the tags yourself but I will prioritise this issue when I get around to that bit of work.

Relates to #2

@iann0036 iann0036 added the new-mapping New mapping request label Mar 19, 2019
@ustrahlendorf
Copy link
Author

Hi Ian,
understand, no problem.
Take care
regards
uwe

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-mapping New mapping request
Projects
None yet
Development

No branches or pull requests

2 participants