In the nested templates, the auto-generated names can be quite long. Most of the time, this will hit the maximum length of attributes such as SecurityGroup Name, IAM Role Name, IAM Policy Name, IAM Instance Name, RDS DB Identifier.

CommentFileSizeAuthor
#2 3119075-2.patch17.18 KBbaldwinlouie

Comments

baldwinlouie created an issue. See original summary.

baldwinlouie’s picture

Status: Active » Needs review
StatusFileSize
new17.18 KB

Attaching patch that does the following

1. Return to automatic name/ID creation of AWS resources, such as VPC ids, IAM roles…etc.

2. I added a StackPrefix textfield that I am asking users. This field is 20 characters long only. I’m using it to prepend things such as SecurityGroup Names, RDS DB Identifiers ..etc… Basically anything that might hit the maxlength of a particular attribute.

3. I removed the Fields asking for IAM role/Group/InstanceProfileName/Policy. I turned them back into auto-generated fields.

baldwinlouie’s picture

Status: Needs review » Needs work

checking on something. Will generate another patch shortly.

baldwinlouie’s picture

Status: Needs work » Needs review

Templates are ok. No need to generate a new patch. Please review the one attached in comment #2.

yas’s picture

Status: Needs review » Reviewed & tested by the community

Thank you for fixing the issue. We tested the patch so I'll merge the patch to 8.x-1.x and 8.x-2.x and close this issue as Fixed.

  • yas committed 6f236c5 on 8.x-1.x authored by baldwinlouie
    Issue #3119075 by baldwinlouie, yas: Fix CFn nested templates so long...

  • yas committed 7a799d8 on 8.x-2.x authored by baldwinlouie
    Issue #3119075 by baldwinlouie, yas: Fix CFn nested templates so long...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.