j3-signalroom / iac-snowflake-user-rsa_key_pairs_rotation-tf_module

A Terraform module utilizing a customized AWS Lambda to manage the creation and rotation of RSA key pairs for authenticating a Snowflake service account user, based on a configurable number of days since creation.
https://linkedin.com/in/jeffreyjonathanjennings
MIT License
0 stars 0 forks source link

Retrofit key pair rotation mechanism. #43

Closed j3-signalroom closed 3 weeks ago

j3-signalroom commented 3 weeks ago
output "active_api_key" {
    value       = confluent_api_key.resouce_api_key[local.latest_api_key]
    description = ""
}

output "all_api_keys" {
    value       = [for d in local.sorted_dates : confluent_api_key.resouce_api_key[lookup(local.dates_and_count, d)]]
    description = ""
}
j3-signalroom commented 3 weeks ago

Add an outputs.tf file, similar to what was done for the Confluent Cloud API rotation.