We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f0a7f3 commit a6c2b80Copy full SHA for a6c2b80
main.tf
@@ -534,7 +534,7 @@ resource "aws_ses_domain_identity_verification" "email_domain_verification" {
534
535
resource "aws_iam_user" "gitlab_smtp_user" {
536
count = var.create_ses_identity ? 1 : 0
537
- name = "gitlab_smtp_user"
+ name = var.ses_username
538
}
539
540
resource "aws_iam_access_key" "gitlab_smtp_user" {
variables.tf
@@ -291,3 +291,9 @@ variable "aws_region" {
291
description = "AWS region code. Eg: ap-south-1"
292
default = "ap-south-1"
293
294
+
295
+variable "ses_username" {
296
+ type = string
297
+ description = "Username for Gitlab SMTP user"
298
+ default = "gitlab_smtp_user"
299
+}
0 commit comments