Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I have the following in my Terraform config:
data "aws_iam_role" "aws_service_role_batch" {
name = "AWSServiceRoleForBatch"
}
but tflocal
errors with Error: reading IAM Role (AWSServiceRoleForBatch): couldn't find resource
.
Expected Behavior
As this is a managed service role in AWS, LocalStack should recognize this role. Assumption is that this service role is not mocked.
How are you starting LocalStack?
With the localstack
script
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack
command, arguments, or docker-compose.yml
)
`localstack start -d`
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
`tflocal plan`
Environment
- OS: OSX 15.3.1
- LocalStack:
LocalStack version: `4.2.0`
LocalStack Docker image sha: `sha256:4e079715a49b0d8102a59b0dec5140bf0627f4b301ca7a4ec479ee5802d3e2b4`
LocalStack build date:
LocalStack build git hash:
Anything else?
No response