steep-window-60101
11/30/2021, 6:28 PMfrom 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)
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!No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by