Closed magurotuna closed 1 year ago
@magurotuna I made the following changes:
target
to stay consistent with the REST API.content_source_path
attribute.encoding
and content_source_path
are also made mutually exclusive.
Otherwise the PR looks good to me.If you agree with the above changes, feel free to land, otherwise let's talk about it.
This commit adds support for inlined assets in the
deno_deployment
resource. This also involves some rework on thedeno_assets
data source, which breaks both input and output types.Now the terraform config that does a deployment using inlined assets looks like as follows:
Also, terraform's builtin function
merge
can be used to merge normal assets into inlined ones:Other examples can be found in
internal/provider/deployment_resource_test.go
.Resolves #16