terraform-provider-awscc icon indicating copy to clipboard operation
terraform-provider-awscc copied to clipboard

awscc_quicksight_data_source : optional field aws_account_id is required

Open quixoticmonk opened this issue 9 months ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
  • The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.

Terraform CLI and Terraform AWS Cloud Control Provider Version

  • Terraform cli version : 1.7.4
  • awscc provider : v0.76.0

Affected Resource(s)

  • awscc_quicksight_data_source

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.


resource "awscc_quicksight_data_source" "default" {
  data_source_id = "example-id"
  name           = "Example data in S3"
  data_source_parameters= {
    s3_parameters= {
      manifest_file_location= {
        bucket = var.bucket_name
        key    = var.bucket_key
      }
    }
  }
  type = "S3"
  tags = [{
    key   = "Modified By"
    value = "AWSCC"
  }]
}

variable "bucket_name" {
    type = string
}

variable "bucket_key" {
    type = string
}

Debug Output

Panic Output

Expected Behavior

The Datasource should have been created without any errors.

Actual Behavior

Recieved the below error message.

╷
│ Error: AWS SDK Go Service Operation Incomplete
│
│   with awscc_quicksight_data_source.default,
│   on main.tf line 1, in resource "awscc_quicksight_data_source" "default":
│    1: resource "awscc_quicksight_data_source" "default" {
│
│ Waiting for Cloud Control API service CreateResource operation completion returned: waiter
│ state transitioned to FAILED. StatusMessage: Unable to marshall request to JSON: Parameter
│ 'AwsAccountId' must not be null. ErrorCode: InternalFailure

Steps to Reproduce

  1. terraform apply

Important Factoids

References

quixoticmonk avatar May 03 '24 02:05 quixoticmonk