mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-11 06:02:41 -05:00
terraform: fix Azure marketplace image defaults (#2692)
* config: default to false instead of null for Azure marketplace image Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform: make Azure marketplace image default to null Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
parent
acba9c4c60
commit
6ff321364d
4 changed files with 5 additions and 3 deletions
|
|
@ -210,7 +210,7 @@ type AzureClusterVariables struct {
|
|||
// InternalLoadBalancer is true if an internal load balancer should be created.
|
||||
InternalLoadBalancer bool `hcl:"internal_load_balancer" cty:"internal_load_balancer"`
|
||||
// MarketplaceImage is the (optional) Azure Marketplace image to use.
|
||||
MarketplaceImage AzureMarketplaceImageVariables `hcl:"marketplace_image" cty:"marketplace_image"`
|
||||
MarketplaceImage *AzureMarketplaceImageVariables `hcl:"marketplace_image" cty:"marketplace_image"`
|
||||
}
|
||||
|
||||
// GetCreateMAA gets the CreateMAA variable.
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ func TestAzureClusterVariables(t *testing.T) {
|
|||
Debug: to.Ptr(true),
|
||||
Location: "eu-central-1",
|
||||
CustomEndpoint: "example.com",
|
||||
MarketplaceImage: AzureMarketplaceImageVariables{
|
||||
MarketplaceImage: &AzureMarketplaceImageVariables{
|
||||
Publisher: "edgelesssys",
|
||||
Product: "constellation",
|
||||
Name: "constellation",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue