2023-01-04 22:12:40 +00:00
|
|
|
config configLexicalName string {
|
|
|
|
__logicalName = "cC-Charlie_charlie.😃⁉️"
|
|
|
|
}
|
|
|
|
|
2022-04-25 22:07:25 +00:00
|
|
|
resource resourceLexicalName "random:index/randomPet:RandomPet" {
|
|
|
|
// not necessarily a valid logical name, just testing that it passes through to codegen unmodified
|
|
|
|
__logicalName = "aA-Alpha_alpha.🤯⁉️"
|
2023-01-04 22:12:40 +00:00
|
|
|
|
|
|
|
prefix = configLexicalName
|
2022-04-25 22:07:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output outputLexicalName {
|
2024-01-18 22:07:02 +00:00
|
|
|
// Deprecated format for output logical name
|
2022-04-25 22:07:25 +00:00
|
|
|
__logicalName = "bB-Beta_beta.💜⁉"
|
|
|
|
value = resourceLexicalName.id
|
|
|
|
}
|
2024-01-18 22:07:02 +00:00
|
|
|
|
|
|
|
// New format for output logical name because outputs don't have separate logical names. Even nodejs which just
|
|
|
|
// does "export" normally for outputs needs that export _to be_ the output name and so if the "logical name"
|
|
|
|
// isn't a valid nodejs export we have to output it differently.
|
|
|
|
output "dD-Delta_delta.🔥⁉" {
|
|
|
|
value = resourceLexicalName.id
|
|
|
|
}
|