Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add username_template field to mongodbatlas block in vault_database_secret_backend_connection #1240

Open
r3nic1e opened this issue Nov 30, 2021 · 6 comments · May be fixed by #1249
Open

Add username_template field to mongodbatlas block in vault_database_secret_backend_connection #1240

r3nic1e opened this issue Nov 30, 2021 · 6 comments · May be fixed by #1249

Comments

@r3nic1e
Copy link

r3nic1e commented Nov 30, 2021

Terraform Version

Terraform v1.0.11
on darwin_amd64
+ provider registry.terraform.io/hashicorp/google v3.90.1
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/hashicorp/vault v3.0.1
+ provider registry.terraform.io/mongodb/mongodbatlas v1.1.1

Affected Resource(s)

  • vault_database_secret_backend_connection

Terraform Configuration Files

resource "vault_database_secret_backend_connection" "mongodb" {
  backend = "database-mongodb"
  name    = var.environment

  mongodbatlas {
    public_key        = var.public_key
    private_key       = var.private_key
    project_id        = var.project_id
    username_template = "{{ printf \"v-%s-%s\" (.RoleName) (uuid) | truncate_sha256 32 }}"
  }
}

Expected Behavior

Resource should accept username_template property

Actual Behavior

An argument named "username_template" is not expected here.

References

@Abdelrahman1993
Copy link

I hope this feature to be released soon

@pbtrudel
Copy link

The PR for this feature has been ready for years. I really hope they merge it soon.

@dggmsa
Copy link

dggmsa commented Aug 19, 2024

+1

3 similar comments
@matheuspicioli
Copy link

+1

@leognutzmann
Copy link

+1

@hgadatia
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants