-
Hi,
is there any way to run script in bottlerocket and put the AZ-specific label? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Today there's no way to do exactly what you're asking for, outside of a custom build. We do have the ability to populate settings based on a template at runtime; that's how host containers are configured to pull from the regional ECR repository. However, there's not currently a way to define new templates or override them via user-data. We're also in the early stages of designing a "bootstrap container" interface that would let you run a script inside a container during first boot, so you could do something like this:
For your use case, could you work with a combination of two labels instead? |
Beta Was this translation helpful? Give feedback.
Today there's no way to do exactly what you're asking for, outside of a custom build.
We do have the ability to populate settings based on a template at runtime; that's how host containers are configured to pull from the regional ECR repository. However, there's not currently a way to define new templates or override them via user-data.
We're also in the early stages of designing a "bootstrap container" interface that would let you run a script inside a container during first boot, so you could do something like this: