Skip to content

Error deploying Terraform on AWS: error reading IAM Role (AWSServiceRoleForRedshift): NoSuchEntity #6

Description

@sublimotion

(base) [ec2-user@ip-10-0-0-231 infra]$ terraform plan -var="admin_password=Ray123"

│ Warning: Argument is deprecated

│ with aws_s3_bucket.feast_bucket,
│ on main.tf line 3, in resource "aws_s3_bucket" "feast_bucket":
│ 3: acl = "private"

│ Use the aws_s3_bucket_acl resource instead

│ (and 13 more similar warnings elsewhere)


│ Error: error reading IAM Role (AWSServiceRoleForRedshift): NoSuchEntity: The role with name AWSServiceRoleForRedshift cannot be found.
│ status code: 404, request id: 8cf1a79d-685a-4b24-89ff-60eb8387a255

│ with data.aws_iam_role.AWSServiceRoleForRedshift,
│ on main.tf line 44, in data "aws_iam_role" "AWSServiceRoleForRedshift":
│ 44: data "aws_iam_role" "AWSServiceRoleForRedshift" {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions