TerraformRemoteState allows you to read output values from a remote Terraform state file.
Advanced
TerraformRemoteState
Access outputs from other Terraform stacks.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Access outputs from other Terraform stacks.
TerraformRemoteState allows you to read output values from a remote Terraform state file.
get(name: string): any
getString(name: string): string
getNumber(name: string): number
getList(name: string): string[]
getBoolean(name: string): boolean
new DataTerraformRemoteStateLocal(scope: Construct, id: string, config: LocalBackendConfig)
new DataTerraformRemoteStateS3(scope: Construct, id: string, config: S3BackendConfig)
new DataTerraformRemoteStateGcs(scope: Construct, id: string, config: GcsBackendConfig)
new DataTerraformRemoteStateRemote(scope: Construct, id: string, config: RemoteBackendConfig)
new DataTerraformRemoteStateCloud(scope: Construct, id: string, config: CloudBackendConfig)