Skip to contents

Get instance status

Usage

aws_db_instance_status(id)

Arguments

id

(character) required. instance identifier. The identifier for this DB instance. This parameter is stored as a lowercase string. Constraints: must contain from 1 to 63 letters, numbers, or hyphens; first character must be a letter; can't end with a hyphen or contain two consecutive hyphens. required.

Value

(character) the status of the instance, e.g., "creating", "available", "not found"

Examples

if (FALSE) {
aws_db_instance_status(id = "thedbinstance")
}