Skip to content

Managed AD Linux AMI version issues #29

@LukaszJD

Description

@LukaszJD

When the template is executed in a pipeline some time after initial deployment the Cloudformation changeset identifies that the AMI for the AdDomainAdminNode needs to be updated, because there's a newer version of the amznlinux image. An AMI change requires the server resource be destroyed and rebuilt, which is attempted.

The new node is launched, but experiences an error during the startup script. It's trying to create the Service Account user via adcli , but this returns an error because the user account already exists.

To workaround the issue we pass the AMI image version as a parameter with the type of 'AWS::EC2::Image::Id'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions