zero-aws-eks-stack icon indicating copy to clipboard operation
zero-aws-eks-stack copied to clipboard

Update teardown section in README and Makefile

Open aspcanada opened this issue 3 years ago • 1 comments

There are a few discrepancies in the Makefile and the README with respect to tearing down an environment.

  1. teardown-secrets removes the ci-user secret key which is shared b/t envs.
  2. teardown-secrets also removed the -eks-cluster-creator role which is also shared b/t envs.
  3. teardown should accept an environment param and should skip "shared" teardown steps.

Should have a teardown-shared-secrets and teardown-shared-roles make commands.

aspcanada avatar Jan 27 '22 17:01 aspcanada

Yeah that's true, we should probably add a note before tearing down shared resources that you should repeat the previous steps for any other environments, and like you mentioned, split teardown-secrets into two targets, one for env-specific resources and one for shared.

bmonkman avatar Jan 27 '22 20:01 bmonkman