Dormeto

Docs

dormeto aws install

The manager installed in your AWS account by the CLI; the procedure is on Get started.

5 min read

install

Installs or updates the manager in your account.

dormeto aws install [--profile <profile>] [--region <region>] [--env <env>] [--version <version>] [--mode organization|account] \
  [--admin-emails <emails>] [--domain <domain>] [--certificate-arn <arn>] [--zone-id <zone>] [--ses-identity <identity>] [--email-from <sender>] \
  [--management-profile <profile>] [--accounts <ids>] [--exclude-accounts <ids>] [--discovery-only <ids>] [--member-role <role>] [--access] \
  [--tag k=v]... [--var name=value]... [--build-role <arn>] [--release <dir>] [--adopt-state <file>] [--adopt-module <name>] [--verbose] [--yes]
OptionValuesDefaultEffect
--versiona versionthe latestThe manager's release.
--modeorganization or accountsuggestedWhat discovery reads.
--admin-emailsaddresses, comma-separated or repeatedaskedThe administrators to invite.
--domaina domaina cloudfront.net hostThe dashboard's domain.
--certificate-arnan ARN—The domain's ACM certificate, in us-east-1.
--zone-ida zone ID—The domain's Route 53 zone.
--ses-identityan SES identityCognitoSends the invitations.
--email-froman address—The invitations' sender, with --ses-identity.
--management-profilean AWS profile—The management account's: organization access too.
--accountsaccount IDs, comma-separated or repeatedevery active accountMember accounts that get the roles.
--exclude-accountsaccount IDs, comma-separated or repeated—Member accounts left out.
--discovery-onlyaccount IDs, comma-separated or repeated—Member accounts without the command role.
--member-rolea roleOrganizationAccountAccessRoleThe role assumed in each member account.
--access——Organization access alone, the manager installed.
--tagk=v, repeatable—Tags of the manager's resources; '' removes them.
--varname=value, repeatable—Another input of the module, its value as JSON.
--build-rolea role's ARNcreatedA role of yours for CodeBuild.
--releasea directoryreleases.dormeto.comA local release of the manager.
--adopt-statea terraform state pull file—Takes over a manager installed with Terraform.
--adopt-modulea module's namemanagerThe manager module's name in that state.
--verbose——Prints Terraform's lines.
--yes——Accepts the suggested answers; never confirms a plan.
dormeto aws install --admin-emails ops@example.com --yes
AWS credentials: account 111122223333 (prod), not in an organization
Mode: account (not in an organization: the manager reads this account only)

Checks
  ✓ credentials: ops in 111122223333
  ✓ administrator rights: administrator rights (simulated)
  ✓ region: eu-west-1 enabled; CodeBuild available
  ✓ organization: account deployment
  ✓ existing install: none: a first install of env prod
  ✓ another install: none
  ✓ another environment: none
  ✓ Dormeto roles: none
  ✓ release: manager 0.24.0
  ✓ administrators: ops@example.com
  - domain: not used (a cloudfront.net host)
  - SES: not used (Cognito sends the invitations, about 50 a day)

Bootstrap (API calls): bucket dmt-install-111122223333-eu-west-1, role dmt-prod-install, project dmt-prod-install
dormeto: terraform plan
dormeto: done
Plan (build dmt-prod-install:b1…)  succeeded  0s
Plan (build dmt-prod-install:b1)
  manager 0.24.0: 3 to add, 0 to change, 0 to destroy
      1 aws_cloudfront_distribution
      1 aws_cognito_user_pool
      1 aws_lambda_function
Plan saved. Apply it: dormeto aws install apply --region eu-west-1 --env prod
  • Without a terminal, it stops after its plan: Get started.

install apply

Applies the install's last saved plan, shown first.

dormeto aws install apply [<install options>]
OptionValuesDefaultEffect
--versiona versionthe latestThe manager's release.
--modeorganization or accountsuggestedWhat discovery reads.
--admin-emailsaddresses, comma-separated or repeatedaskedThe administrators to invite.
--domaina domaina cloudfront.net hostThe dashboard's domain.
--certificate-arnan ARN—The domain's ACM certificate, in us-east-1.
--zone-ida zone ID—The domain's Route 53 zone.
--ses-identityan SES identityCognitoSends the invitations.
--email-froman address—The invitations' sender, with --ses-identity.
--management-profilean AWS profile—The management account's: organization access too.
--accountsaccount IDs, comma-separated or repeatedevery active accountMember accounts that get the roles.
--exclude-accountsaccount IDs, comma-separated or repeated—Member accounts left out.
--discovery-onlyaccount IDs, comma-separated or repeated—Member accounts without the command role.
--member-rolea roleOrganizationAccountAccessRoleThe role assumed in each member account.
--access——Organization access alone, the manager installed.
--tagk=v, repeatable—Tags of the manager's resources; '' removes them.
--varname=value, repeatable—Another input of the module, its value as JSON.
--build-rolea role's ARNcreatedA role of yours for CodeBuild.
--releasea directoryreleases.dormeto.comA local release of the manager.
--verbose——Prints Terraform's lines.
--yes——Accepts the suggested answers; never confirms a plan.
dormeto aws install apply
AWS credentials: account 111122223333 (prod), not in an organization
Plan (build dmt-prod-install:b1)
  manager 0.24.0: 3 to add, 0 to change, 0 to destroy
      1 aws_cloudfront_distribution
      1 aws_cognito_user_pool
      1 aws_lambda_function
dormeto: terraform apply
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
dormeto: done
Apply (build dmt-prod-install:b2…)  succeeded  0s
  ✓ applied: 3 added, 0 changed, 0 destroyed
  ✓ dashboard: https://d1a2b3c4.cloudfront.net answers
  ✓ administrators: invitation sent to ops@example.com (valid 7 days)
Next: sign in at https://d1a2b3c4.cloudfront.net; in Discovery, Perimeter settings, add a filter, then Run now.
  • Running it is the confirmation.
  • <install options> stands for the options of install, but --adopt-state and --adopt-module.

install check

Tests the install's prerequisites, read-only.

dormeto aws install check [<install options>] [--json]
OptionValuesDefaultEffect
--versiona versionthe latestThe manager's release.
--modeorganization or accountsuggestedWhat discovery reads.
--admin-emailsaddresses, comma-separated or repeatedaskedThe administrators to invite.
--domaina domaina cloudfront.net hostThe dashboard's domain.
--certificate-arnan ARN—The domain's ACM certificate, in us-east-1.
--zone-ida zone ID—The domain's Route 53 zone.
--ses-identityan SES identityCognitoSends the invitations.
--email-froman address—The invitations' sender, with --ses-identity.
--management-profilean AWS profile—The management account's: organization access too.
--accountsaccount IDs, comma-separated or repeatedevery active accountMember accounts that get the roles.
--exclude-accountsaccount IDs, comma-separated or repeated—Member accounts left out.
--discovery-onlyaccount IDs, comma-separated or repeated—Member accounts without the command role.
--member-rolea roleOrganizationAccountAccessRoleThe role assumed in each member account.
--access——Organization access alone, the manager installed.
--tagk=v, repeatable—Tags of the manager's resources; '' removes them.
--varname=value, repeatable—Another input of the module, its value as JSON.
--build-rolea role's ARNcreatedA role of yours for CodeBuild.
--releasea directoryreleases.dormeto.comA local release of the manager.
--verbose——Prints Terraform's lines.
--yes——Accepts the suggested answers; never confirms a plan.
dormeto aws install check --admin-emails ops@example.com

Table

AWS credentials: account 111122223333 (prod), not in an organization

Checks
  ✓ credentials: ops in 111122223333
  ✓ administrator rights: administrator rights (simulated)
  ✓ region: eu-west-1 enabled; CodeBuild available
  ✓ organization: account deployment
  ✓ existing install: none: a first install of env prod
  ✓ another install: none
  ✓ another environment: none
  ✓ Dormeto roles: none
  ✓ release: manager 0.24.0
  ✓ administrators: ops@example.com
  - domain: not used (a cloudfront.net host)
  - SES: not used (Cognito sends the invitations, about 50 a day)

JSON

{
  "account": "111122223333",
  "checks": [
    {
      "name": "credentials",
      "detail": "ops in 111122223333",
      "verdict": "ok"
    },
    {
      "name": "administrator rights",
      "detail": "administrator rights (simulated)",
      "verdict": "ok"
    },
    {
      "name": "region",
      "detail": "eu-west-1 enabled; CodeBuild available",
      "verdict": "ok"
    },
    {
      "name": "organization",
      "detail": "account deployment",
      "verdict": "ok"
    },
    {
      "name": "existing install",
      "detail": "none: a first install of env prod",
      "verdict": "ok"
    },
    {
      "name": "another install",
      "detail": "none",
      "verdict": "ok"
    },
    {
      "name": "another environment",
      "detail": "none",
      "verdict": "ok"
    },
    {
      "name": "Dormeto roles",
      "detail": "none",
      "verdict": "ok"
    },
    {
      "name": "release",
      "detail": "manager 0.24.0",
      "verdict": "ok"
    },
    {
      "name": "administrators",
      "detail": "ops@example.com",
      "verdict": "ok"
    },
    {
      "name": "domain",
      "detail": "not used (a cloudfront.net host)",
      "verdict": "skip"
    },
    {
      "name": "SES",
      "detail": "not used (Cognito sends the invitations, about 50 a day)",
      "verdict": "skip"
    }
  ],
  "env": "prod",
  "ok": true,
  "region": "eu-west-1"
}
  • It creates nothing, and asks nothing but the region.
  • <install options> stands for the options of install, but --adopt-state and --adopt-module.

install status

Shows where the install stands, and follows a running build.

dormeto aws install status [<install options>] [--json]
OptionValuesDefaultEffect
--versiona versionthe latestThe manager's release.
--modeorganization or accountsuggestedWhat discovery reads.
--admin-emailsaddresses, comma-separated or repeatedaskedThe administrators to invite.
--domaina domaina cloudfront.net hostThe dashboard's domain.
--certificate-arnan ARN—The domain's ACM certificate, in us-east-1.
--zone-ida zone ID—The domain's Route 53 zone.
--ses-identityan SES identityCognitoSends the invitations.
--email-froman address—The invitations' sender, with --ses-identity.
--management-profilean AWS profile—The management account's: organization access too.
--accountsaccount IDs, comma-separated or repeatedevery active accountMember accounts that get the roles.
--exclude-accountsaccount IDs, comma-separated or repeated—Member accounts left out.
--discovery-onlyaccount IDs, comma-separated or repeated—Member accounts without the command role.
--member-rolea roleOrganizationAccountAccessRoleThe role assumed in each member account.
--access——Organization access alone, the manager installed.
--tagk=v, repeatable—Tags of the manager's resources; '' removes them.
--varname=value, repeatable—Another input of the module, its value as JSON.
--build-rolea role's ARNcreatedA role of yours for CodeBuild.
--releasea directoryreleases.dormeto.comA local release of the manager.
--verbose——Prints Terraform's lines.
--yes——Accepts the suggested answers; never confirms a plan.
dormeto aws install status

Table

AWS credentials: account 111122223333 (prod), not in an organization
Dormeto prod in 111122223333 eu-west-1
  manager 0.24.0; latest release 0.24.0
  last plan dmt-prod-install:3f1c2a4e-6b8d-4c0e-9a1f-2b3c4d5e6f70: succeeded 2026-11-14 08:00; last apply dmt-prod-install:7a9b0c1d-2e3f-4a5b-8c6d-7e8f9a0b1c2d: succeeded 2026-11-14 09:00
  ✓ dashboard: https://d1a2b3c4.cloudfront.net answers
  ✓ administrators: invitation sent to ops@example.com (valid 7 days)
  - organization access: not used (account deployment)

JSON

{
  "account": "111122223333",
  "builds": {
    "apply": {
      "id": "dmt-prod-install:7a9b0c1d-2e3f-4a5b-8c6d-7e8f9a0b1c2d",
      "startedAt": "2026-11-14T09:00:00Z",
      "status": "succeeded"
    },
    "dashboardUpdate": null,
    "plan": {
      "id": "dmt-prod-install:3f1c2a4e-6b8d-4c0e-9a1f-2b3c4d5e6f70",
      "startedAt": "2026-11-14T08:00:00Z",
      "status": "succeeded"
    }
  },
  "checks": [
    {
      "name": "dashboard",
      "detail": "https://d1a2b3c4.cloudfront.net answers",
      "verdict": "ok"
    },
    {
      "name": "administrators",
      "detail": "invitation sent to ops@example.com (valid 7 days)",
      "verdict": "ok"
    },
    {
      "name": "organization access",
      "detail": "not used (account deployment)",
      "verdict": "skip"
    }
  ],
  "env": "prod",
  "latest": "0.24.0",
  "ok": true,
  "region": "eu-west-1",
  "tags": {},
  "upgradeAvailable": false,
  "version": "0.24.0"
}
  • <install options> stands for the options of install, but --adopt-state and --adopt-module.