cloudera-labs / cloudera.exe

cloudera.exe -- an Ansible collection enabling runlevel management of CDP Public Cloud deployments as well as numerous utilities for deployments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variable security_group_vpce_name used a literal in setup_aws_network.yml (infra role)

jimright opened this issue · comments

Details

There is a minor bug in the setup_aws_network.yml task file of cloudera.exe.infrastructure where infra__security_group_vpce_name is used as a literal string instead of as a variable:

tags: "{{ infra__tags | combine({ 'Name': 'infra__security_group_vpce_name' }, recursive=True) }}"

This causes the AWS VPC Endpoint Security Group Name tag to have a value of infra__security_group_vpce_name.

Possible Solution

Remove quotes around infra__security_group_vpce_name in Line 256 of above file - i.e.

This code:

tags: "{{ infra__tags | combine({ 'Name': 'infra__security_group_vpce_name' }, recursive=True) }}"

Becomes:

tags: "{{ infra__tags | combine({ 'Name': infra__security_group_vpce_name }, recursive=True) }}"