steep-window-6010111/30/2021, 6:28 PM
My terraform state file includes multiple terraform modules to build AWS ECS fargate cluster, which includes ALB, listener, security group, IAM, target group, fargate cluster, log group. But with RemoteStateReference, it only import the root outputs block, which is the output variables in outputs.tf in my terraform module. Is this by design or i missed anything? Thanks!
from pulumi_terraform import state tf_state = state.RemoteStateReference("resources", "s3", state.S3BackendArgs( bucket = "bucketName", key = "terraform.tfstate", region = "us-west-2" )) pulumi.export('====', tf_state)