Skip to content

Commit 19e7d02

Browse files
committed
fix(gitlab-18.0) gitlab_repository_file now requires attribute encoding /2
1 parent 9e211b3 commit 19e7d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ resource "gitlab_repository_file" "agent_config" {
5757
branch = data.gitlab_project.this.default_branch
5858
file_path = ".gitlab/agents/${gitlab_cluster_agent.this.name}/config.yaml"
5959
content = base64encode(yamlencode(var.agent_config))
60-
encoding = base64
60+
encoding = "base64"
6161

6262
author_email = var.author_email
6363
commit_message = "${var.commit_message} ${gitlab_cluster_agent.this.name}"

0 commit comments

Comments
 (0)