aws / aws/aws-parallelcluster

bug: data source aws-parallelcluster_cluster

Open
#7,004 1 comment 0 reactions 0 assignees View on GitHub
Backlog Bug pending release
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.