Skip to content

Conversation

@joe4dev
Copy link
Member

@joe4dev joe4dev commented Aug 22, 2023

Motivation

Support issue with CDK stack where UserData is not applied to freshly launched EC2 instances. UserData itself is implemented and works in EC2.

Changes

Add the missing CloudFormation implementation for the UserData property. It requires a callback to decode the base64-encoded field.

Minor refactoring of verbose current folder implementation (initially started with EC2 test but I noticed that is better covered in a scenario test).

Testing

Tested through custom CDK stack and support sample. An EC2 scenario test is partially drafted for localstack-ext (follow up in separate PR).

@joe4dev joe4dev added the semver: patch Non-breaking changes which can be included in patch releases label Aug 22, 2023
@joe4dev joe4dev self-assigned this Aug 22, 2023
@coveralls
Copy link

Coverage Status

coverage: 80.97% (+0.1%) from 80.839% when pulling 8b780f0 on fix-cf-ec2-user-data into ed5f065 on master.

@joe4dev joe4dev force-pushed the fix-cf-ec2-user-data branch from 8b780f0 to a4390ce Compare August 22, 2023 19:39
@github-actions
Copy link

github-actions bot commented Aug 22, 2023

LocalStack Community integration with Pro

       2 files         2 suites   1h 17m 37s ⏱️
2 110 tests 1 661 ✔️ 449 💤 0
2 111 runs  1 661 ✔️ 450 💤 0

Results for commit 96e4c8e.

♻️ This comment has been updated with latest results.

@joe4dev joe4dev force-pushed the fix-cf-ec2-user-data branch from 390d16d to 96e4c8e Compare August 23, 2023 08:02
@joe4dev joe4dev requested a review from viren-nadkarni August 23, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants