Update teardown section in README and Makefile
aspcanada opened this issue · comments
Alain St. Pierre commented
There are a few discrepancies in the Makefile and the README with respect to tearing down an environment.
teardown-secrets
removes the ci-user secret key which is shared b/t envs.teardown-secrets
also removed the -eks-cluster-creator role which is also shared b/t envs.teardown
should accept an environment param and should skip "shared" teardown steps.
Should have a teardown-shared-secrets
and teardown-shared-roles
make commands.
Bill Monkman commented
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.