Vault extraconfig-from-values.hcl not taking given storage from values.json

Hello,
I have a running EKS cluster I want to deploy Vault on that cluster using Terraform, my code is working fine while deploying.
but after deployment Vault is taking file as the backend storage, not the S3 config which I have mentioned in the values.json file

vault:
  server:
    dataStorage:
      enabled: false
    dev:
      enabled: false
    standalone:
      enabled: false
    ha:
      enabled: false
      replicas: 3

      config: |
        storage:
           s3:
          bucket: "testing-vault"


        listener "tcp" {
          tls_disable = 1
          address = "[::]:8200"
          cluster_address = "[::]:8201"

        }
ui:
  enabled: true
  serviceType: LoadBalancer