Dormeto

Docs

dormeto aws uninstall

The manager dormeto aws install installed, removed; the procedure is on Get started.

1 min read

uninstall

Removes the manager dormeto aws install installed.

dormeto aws uninstall [--profile <profile>] [--region <region>] [--env <env>] [--release <dir>] [--verbose] [--yes]
OptionValuesDefaultEffect
--releasea directoryreleases.dormeto.comThe local release of the manager installed.
--verbose——Prints Terraform's lines.
--yes——Says refresh is off, keeps the bootstrap; never confirms a plan.
dormeto aws uninstall --yes
AWS credentials: account 111122223333 (prod), not in an organization
Routers: none
! Event-driven refresh must be off (Discovery, Perimeter settings), with a discovery run since: its forwarders in member accounts are removed only by a run.
dormeto: terraform plan-destroy
dormeto: done
Destroy plan (build dmt-prod-install:b1…)  succeeded  0s
Plan (build dmt-prod-install:b1)
  manager 0.24.0: 0 to add, 0 to change, 3 to destroy
    destroyed: module.dormeto.aws_cognito_user_pool.users, module.dormeto.aws_dynamodb_table.manager, module.dormeto.aws_lambda_function.api
      1 aws_cognito_user_pool
      1 aws_dynamodb_table
      1 aws_lambda_function
  ! this plan destroys or replaces resources (above)
Plan saved. Apply it: dormeto aws uninstall apply --region eu-west-1 --env prod

uninstall apply

Applies the uninstall's last saved destroy plan, shown first.

dormeto aws uninstall apply [--profile <profile>] [--region <region>] [--env <env>] [--release <dir>] [--verbose] [--yes]
OptionValuesDefaultEffect
--releasea directoryreleases.dormeto.comThe local release of the manager installed.
--verbose——Prints Terraform's lines.
--yes——Says refresh is off, keeps the bootstrap; never confirms a plan.
dormeto aws uninstall apply
AWS credentials: account 111122223333 (prod), not in an organization
Routers: none
Plan (build dmt-prod-install:b1)
  manager 0.24.0: 0 to add, 0 to change, 3 to destroy
    destroyed: module.dormeto.aws_cognito_user_pool.users, module.dormeto.aws_dynamodb_table.manager, module.dormeto.aws_lambda_function.api
      1 aws_cognito_user_pool
      1 aws_dynamodb_table
      1 aws_lambda_function
  ! this plan destroys or replaces resources (above)
dormeto: terraform apply-destroy
Apply complete! Resources: 0 added, 0 changed, 3 destroyed.
dormeto: done
Destroy (build dmt-prod-install:b2…)  succeeded  0s
  ✓ destroyed: 3 resources
Kept the bucket dmt-install-111122223333-eu-west-1 (its answers serve a reinstall) and the project; dormeto aws uninstall --region eu-west-1 --env prod again in a terminal removes them.
  • Running it is the confirmation.
  • It keeps the install's bucket, role, log group and project: uninstall removes them.