Skip to content

subnet-group resource

Source: internal/service/elasticache/subnet_group_rsrc.go:35

Example usage:

imports: {
  aws-elasticache: 'github.com/cloudboss/unobin-library-aws//service/elasticache'
}

resources: {
  example: aws-elasticache.subnet-group {
    # Set input fields here.
  }
}

Inputs

name

string

required

description

string

default

subnet-ids

list(string)

required

tags

optional(map(string))

Input Constraints

Subnet ids rules

subnet-ids must not be empty.

Rule logic
Require
@core.length(input.subnet-ids) >= 1

Tags rules

tags holds at most 50 entries.

Rule logic
Require
@core.length(input.tags ?? {}) <= 50

Outputs

name

string

arn

string

vpc-id

string