Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Make sure resources are all tagged #1115

Closed
Quentin-M opened this issue Jun 19, 2017 · 9 comments
Closed

Make sure resources are all tagged #1115

Quentin-M opened this issue Jun 19, 2017 · 9 comments
Assignees
Labels
Milestone

Comments

@Quentin-M
Copy link
Contributor

Tracking the issue mentioned in #218 (comment).

The fix should be in the next release.

@Quentin-M
Copy link
Contributor Author

Would there be a way to add an automated test for that one?

@robszumski
Copy link
Member

robszumski commented Jun 20, 2017

Automated tests would be great. Manually booting 1.6.4 release shows that these items are tagged with custom tags:

  • security groups
  • VPC
  • Subnets

Not tagged with custom tags:

  • EC2 vms
  • ELBs
  • ASGs

Not tagged at all:

  • EBS volumes
  • Internet Gateways

@Quentin-M
Copy link
Contributor Author

Assigning to @estroz avec discussed offline! Thanks!

@sym3tri sym3tri modified the milestones: Sprint 4, Sprint 5 Jun 30, 2017
@estroz
Copy link
Contributor

estroz commented Jul 5, 2017

Tags by Resource Types as of 1.6.4:

*: Only some were tagged, not all
**: Only etcd node volumes are tagged

Resource Type ClusterID Extra tags
Instance x x*
ELB x x
Security Group x x
Route53 HostedZone x x
Route Table x x
Subnet x x
VPC x x
Network ACL (default)
Internet Gateway x x
Customer Gateway
Network Interface
Volume x** x**
S3 Bucket x x
Autoscaling Group x

Note:

  • ASG-controlled instances do not get extra tags
  • ASG-controlled instance volumes cannot be tagged

@rithujohn191
Copy link
Contributor

Needs more investigation for desired user experience.

@robszumski
Copy link
Member

In the planning meeting we discussed:

  • upstream Terraform doesn't support tagging for all resource types
  • we could ship a binary that uses the raw APIs to accomplish this

I have reached out to our AWS contacts to see if they can lend any resources to improving the terraform support.

Shipping a separate binary or requiring users to interact with the raw providers API does not meet our UX requirements.

@estroz what was the limitation around tagging the auto-scaled instances?

@estroz
Copy link
Contributor

estroz commented Jul 12, 2017 via email

@sym3tri
Copy link
Contributor

sym3tri commented Aug 23, 2017

This is complete. Just need to document the caveats for which i created a separate issue.

@sym3tri sym3tri closed this as completed Aug 23, 2017
@ggreer
Copy link
Contributor

ggreer commented Aug 23, 2017

Autoscaling groups still aren't getting tagged correctly. (Merged in #1314 and reverted in #1341)

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

No branches or pull requests

6 participants