pulumi/tests/testdata/codegen/interpolated-string-keys-pp/python/interpolated-string-keys.py

10 lines
183 B
Python

import pulumi
config = pulumi.Config()
value = config.require("value")
tags = config.get_object("tags")
if tags is None:
tags = {
f"interpolated/{value}": "value",
}