title: InvalidArgumentException: Enabling or disabling Dynamic Partitioning is not supported at the moment
body: <p>When I try to run <code>terraform apply</code>in my project, it throws the following error:</p>
  <pre><code> Error: Error Updating Kinesis Firehose Delivery Stream: &quot;delivery&quot;
  │ InvalidArgumentException: Enabling or disabling Dynamic Partitioning is not supported at the moment
  │ 
  │   with module.shippeo-api.module.v1.aws_kinesis_firehose_delivery_stream.event-eta,
  │   on ../../modules/api_gateway_v1/kinesis.tf line 12, in resource &quot;aws_kinesis_firehose_delivery_stream&quot; &quot;event-eta&quot;:
  │   12: resource &quot;aws_kinesis_firehose_delivery_stream&quot; &quot;event-eta&quot; {
  │ 
  ╵
  </code></pre>
  <p>because of this part:</p>
  <pre><code>resource &quot;aws_kinesis_firehose_delivery_stream&quot; &quot;event-eta&quot; {
    name        = local.firehose_delivery_stream
    destination = &quot;extended_s3&quot;
  
    extended_s3_configuration {
      role_arn   = var.integration_role_arn
      #bucket_arn = aws_s3_bucket.jsonfiles.arn
      bucket_arn = var.target_bucket_arn
  
      prefix              = &quot;!{partitionKeyFromLambda:apiPath}/!{partitionKeyFromLambda:authorizerClientId}/!{timestamp:yyyy}/!{timestamp:MM}/!{timestamp:dd}/!{timestamp:HH}/&quot;
      #prefix = &quot;!{timestamp:yyyy}/!{timestamp:MM}/!{timestamp:dd}/!{timestamp:HH}/&quot;
      error_output_prefix = &quot;error/!{timestamp:yyyy}/!{timestamp:MM}/!{timestamp:dd}/!{timestamp:HH}/!{firehose:error-output-type}&quot;
  
  
  
      dynamic_partitioning_configuration {
        enabled = true
      }
  </code></pre>
  <p>I already have the latest version in my provider.tf files:</p>
  <pre><code>  required_providers {
      archive = {
        source  = &quot;hashicorp/archive&quot;
        version = &quot;2.2.0&quot;
      }
      aws     = {
        source  = &quot;hashicorp/aws&quot;
        version = &quot;3.72.0&quot;
      }
    }
  </code></pre>
  <p>However, when I check <code>terraform version</code>on my terminal, I get this:</p>
  <pre><code>Terraform v1.0.7
  on darwin_amd64
  + provider registry.terraform.io/hashicorp/archive v2.2.0
  + provider registry.terraform.io/hashicorp/aws v3.72.0
  
  Your version of Terraform is out of date! The latest version
  is 1.1.4. You can update by downloading from https://www.terraform.io/downloads.html
  </code></pre>
  <p>I already tried <code>terraform init -upgrade</code>but that didn't make a difference either.I also manually downloaded terraform's new version from the website but my terminal still shows 1.0.7</p>