-
Notifications
You must be signed in to change notification settings - Fork 459
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
Forceable Static Name for Outputs #247
Comments
Or perhaps just use the construct id? new TerraformOutput(this, 'arn', {
value: custom.instance.arn,
static: true
}) => |
I think the construct id would work well. |
This can already be achieved by using a feature flag (default for new apps) - It was implemented in #329 This applies to all root level resources. Since it's not really granular manageable, I'll leave this issue open for now. |
#329 also added |
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Community Note
Description
When aiming to build a Terraform module with
cdktf
, or reference the remote state in a non automated environment, it would be good to be able to force a static name.Given this output:
This generates a name like this
cdktfhybridmodule_arn_788D4ED0
.A new option could be:
Which wouldn't generate a name but use the input and would be referenceable as
arn
.The text was updated successfully, but these errors were encountered: