philloooo / github-tests

just for testing various github features/bugs
Apache License 2.0
0 stars 0 forks source link

PXD-315 ⁃ adminVM for child account bootstrap script update #314

Open skattar1406 opened 6 years ago

skattar1406 commented 6 years ago

The admins VMs run a script embedded as data-user in terraform.

The big downside of this is that if we need to make any changes, like update the terraform version, it'll destroy the current resource and build up a new one.

To avid this situation, we should create a master script, put it in an S3 bucket, and tell the terraform user-data to pull it and execute it. That way we can run it everytime we want without destroying the resource unnecessarily.