Skip to content

Latest commit

 

History

History
85 lines (69 loc) · 1.89 KB

File metadata and controls

85 lines (69 loc) · 1.89 KB

Resource Group

A module to demonstrate documentation generation

Usage

module exampleInstance 'ts/IacModules:resources/resource-groups:2022-12-17' = {
  name: 'exampleInstance'
  params: {
    boolInput: false
    complexObject: {
      prop: 'one'
      propTwo: 'two'
    }
    inputArray: [
      { prop: 'one' }
    ]
    inputArraySimple: [
      'one'
      'two'
    ]
    intInput: 124
    resourceGroupLocation: resourceGroupLocation
    resourceGroupName: 'resourceGroupName'
    tags: {}
  }
}

Parameters

Parameter Description Type Default
boolInput Bool input bool false
complexObject Object input object (secure) complexObjectValue
inputArray Complex array input array inputArrayValue
inputArraySimple Simple array input array [ 'one' 'two']
intInput int input int

Accepted values: from 1 to 2333.
124
resourceGroupLocation Location of the resource group resourceGroupLocationAllow (secure)

Character limit: 3-24
resourceGroupName Name of the resource group string
tags Tags to append to resource group object {}

Resources

Outputs

Name Type Description
resourceId string ResourceId of the resource group
location string Location of the resource group

References

complexObjectValue

{
  prop: 'one'
  propTwo: 'two'
}

inputArrayValue

[
  { prop: 'one' }
]

resourceGroupLocationAllow

  • northcentralus
  • northcentralusstage
  • northeurope
  • norway
  • norwayeast
  • norwaywest
  • uk
  • uksouth
  • ukwest
  • westeurope