terraform.aws-baseline-infra/examples/external-data-source/main.tf

8 lines
170 B
Terraform
Raw Permalink Normal View History

data external rds-instances {
program = ["bash", "./list-rds-instances.sh"]
}
output rds-instances {
value = split(" ", data.external.rds-instances.result.result)
}