Skip to content

Rework redundant input for availabilityZone for VMs #1012

Description

Description

The VM module has 2 parameters that needs to be set to use/configure a 'set once' property of zones. The way it is currently working is you would need to specify a single int between 1-3, in addition to a useAvailabilityZone boolean parameter.

   param useAvailabilityZone bool = false
   param availabilityZone int = 0
   zones: useAvailabilityZone ? array(availabilityZone) : null

Would it be simpler to implement something along the lines of:

   param availabilityZone int = 0
   zones: availabilityZone != 0 ? array(availabilityZone) : null

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions