Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

controltower get-landing-zone manifest inconsistent with documentation #659

Description

@jusdino

Describe the issue

Reading the AWS CLI docs page for the aws controltower get-landing-zone command, I read:

manifest -> (document)

The landing zone manifest.yaml text file that specifies the landing zone configurations.

which would make me expect that the manifest field would have something like what is described in the ControlTower docs here. Instead, it has some json data that doesn't seem to match that at all.

What I would expect to see

Something like

{
    "landingZone": {
        "arn": "arn:aws:controltower:us-east-1:012345678901:landingzone/FOOFOO",
        "driftStatus": {
            "status": "IN_SYNC"
        },
        "latestAvailableVersion": "3.2",
        "manifest": {
            "region": "us-east-1",
            "version": "2021-03-15",
            "resources": [
                {
                    "name": [String],
                    "resource_file": [String],
                    "deployment_targets": [...],
                    "parameters": [...],
                    "deploy_method": [String],
                    ...
                }
            ],
        },
        "status": "ACTIVE",
        "version": "3.2"
    }
}

What I actually see

{
    "landingZone": {
        "arn": "arn:aws:controltower:us-east-1:012345678901:landingzone/FOOFOO",
        "driftStatus": {
            "status": "IN_SYNC"
        },
        "latestAvailableVersion": "3.2",
        "manifest": {
            "accessManagement": {
                "enabled": true
            },
            "securityRoles": {
                "accountId": "123456789012"
            },
            "governedRegions": [
                "us-east-1"
            ],
            "organizationStructure": {
                "security": {
                    "name": "Security"
                }
            },
            "centralizedLogging": {
                "accountId": "234567890123",
                "configurations": {
                    "loggingBucket": {
                        "retentionDays": 365
                    },
                    "kmsKeyArn": "arn:aws:kms:us-east-1:012345678901:key/12345678-4321-4abc-b123-12345678901",
                    "accessLoggingBucket": {
                        "retentionDays": 3650
                    }
                },
                "enabled": true
            }
        },
        "status": "ACTIVE",
        "version": "3.2"
    }
}

Links

https://docs.aws.amazon.com/cli/latest/reference/controltower/get-landing-zone.html
https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetLandingZone.html

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationservice-apiThis issue pertains to the AWS API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions