Repository navigation
Destroy Windows AD Domain - #392
Conversation
IPvSean
left a comment
There was a problem hiding this comment.
Looks solid overall — mirrors the Destroy Cloud Stack pattern well, the Kerberos/AD LDAP credential reset is the right AD-specific piece, and moving Delete Keypair / Delete VPC into common makes sense for reuse. Pre-commit is green.
A few doc/registration gaps before merge:
- Pages registration — please add a
docs/_data/demos.ymlentry for Destroy Active Directory Domain (Cloud Destroy has one). Without it the demo won’t show on the site. windows/README.md— Workflows table still only lists Setup; worth adding Destroy there too.- Setup doc drift — removing the Setup survey
aws_public_keyprompt is fine (Create Keypair already has APD Machine Credential and can derive the key), butwindows-setup-ad-domain.mdstill lists Keypair Public Key as a required survey prompt and Prerequisites still call out needing an SSH public key. Those should be synced.
Nits (non-blocking):
- The
DISCLAIMERinventory /source_varsnote is a bit unconventional as an operator signal; a clearerdescriptionmight communicate better, but it’s harmless. - Same shared
aws-test-vpc/aws-test-keyas Cloud Stack — Destroy AD will tear those down if both demos were used in-region (pre-existing pattern, just worth knowing).
Happy to approve once the demos.yml + README + setup-doc survey sync land.
All comments addressed @IPvSean ✅ |
|
Verified Cloud Stack Setup/Destroy ran successfully, no regression from migration of JTs. |
IPvSean
left a comment
There was a problem hiding this comment.
Re-reviewed after the docs follow-up — LGTM, approve.
Prior gaps are fixed:
docs/_data/demos.ymlentry for Destroy Active Directory Domain- Destroy linked from
windows/README.md/ docs index - Setup survey/docs synced (pubkey removed; APD Machine Credential called out)
Workflow matches the Destroy Cloud Stack pattern (parallel VM deletes + converge inventory → delete keypair/VPC), and the Kerberos/AD LDAP reset playbook returns credentials to the same placeholders as windows/setup.yml. Pre-commit green; Zach confirmed Cloud Stack Setup/Destroy still works after the JT move to common.
Non-blocking nits (same as before, fine to land as-is):
DISCLAIMERinventory/source_varsnote is unconventional but harmless- Shared
aws-test-vpc/aws-test-keywith Cloud Stack — Destroy AD will tear those down if both demos ran in-region (pre-existing pattern)
Closes #380
Add Destroy Workflow for Active Directory Domain Setup (matching Cloud Stack pattern)