Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managed AD Linux AMI version issues #29

Open
LukaszJD opened this issue May 14, 2024 · 0 comments
Open

Managed AD Linux AMI version issues #29

LukaszJD opened this issue May 14, 2024 · 0 comments

Comments

@LukaszJD
Copy link

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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant