mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-08 22:53:00 -04:00
terraform-provider: Add support for STACKIT / OpenStack
This commit is contained in:
parent
1670d977c6
commit
d69673fab7
24 changed files with 511 additions and 36 deletions
|
@ -252,9 +252,10 @@ func (d *ImageDataSource) Read(ctx context.Context, req datasource.ReadRequest,
|
|||
|
||||
// Save data into Terraform state
|
||||
diags := resp.State.SetAttribute(ctx, path.Root("image"), imageAttribute{
|
||||
Reference: imageRef,
|
||||
Version: imageSemver,
|
||||
ShortPath: apiCompatibleVer.ShortPath(),
|
||||
Reference: imageRef,
|
||||
Version: imageSemver,
|
||||
ShortPath: apiCompatibleVer.ShortPath(),
|
||||
MarketplaceImage: data.MarketplaceImage.ValueBoolPointer(),
|
||||
})
|
||||
resp.Diagnostics.Append(diags...)
|
||||
if resp.Diagnostics.HasError() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue