Some property names are mapped from their `camelCase` Pulumi name to a `snake_case` Python name. This mapping is irregular, and only occurs for resources properties and function calls. Note that there's still more work to do here: this only fixes names on the output side; the input side is still broken for nested resource proprerties and function calls. The underlying design--annotated types in `hcl2/model`--may need some additional work in the future, but I _believe_ it's good enough for now.
11 lines
185 B
Puppet
11 lines
185 B
Puppet
resource logs "aws:s3:Bucket" {}
|
|
|
|
resource bucket "aws:s3:Bucket" {
|
|
loggings = [{
|
|
targetBucket = logs.bucket,
|
|
}]
|
|
}
|
|
|
|
output targetBucket {
|
|
value = bucket.loggings[0].targetBucket
|
|
}
|