Skip to content

bug: data source aws-parallelcluster_cluster #7004

@abazzi-neogenomics

Description

@abazzi-neogenomics

Hi there, i'm using parallelcluster provider 1.1.0 to create a cluster with cloudwatch disabled
When then using the data source to look up cluster properties (to re-use across other resources) i get this error:

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: 400 Bad Request
│
│   with module.clusters-3-8-0.data.aws-parallelcluster_cluster.this["test-tfpcluster3-slurm01"],
│   on ../modules/pcluster/data.tf line 19, in data "aws-parallelcluster_cluster" "this":
│   19: data "aws-parallelcluster_cluster" "this" {
│
│ {{"message":"Bad Request: CloudWatch logging is not enabled for cluster euw1-dev-test-tfpcluster3-slurm01."}
│ }
╵
╷
│ Error: Value Conversion Error
│
│   with module.clusters-3-8-0.data.aws-parallelcluster_cluster.this["test-tfpcluster3-slurm01"],
│   on ../modules/pcluster/data.tf line 19, in data "aws-parallelcluster_cluster" "this":
│   19: data "aws-parallelcluster_cluster" "this" {
│
│ An unexpected error was encountered while verifying an attribute value matched its expected type to prevent unexpected behavior or panics. This is always an error in the provider.
│ Please report the following to the provider developer:
│
│ Expected framework type from provider logic: types.ListType[types.MapType[basetypes.StringType]] / underlying type: tftypes.List[tftypes.Map[tftypes.String]]
│ Received framework type from provider logic: types.ListType[basetypes.StringType] / underlying type: tftypes.List[tftypes.String]
│ Path: log_streams

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions