Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
aazon committed Apr 21, 2024
1 parent 73c2c5c commit 15cbf86
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions otc/swr/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,18 @@ resource "opentelekomcloud_swr_repository_v2" "repo_1" {
}

resource "opentelekomcloud_identity_user_v3" "ci_cd" {
name = "${var.name}-ci-cd"
access_type = "programmatic"
name = "${var.name}-ci-cd"
}

resource "opentelekomcloud_swr_organization_permissions_v2" "ci_cd" {
auth = 3
organization = opentelekomcloud_swr_organization_v2.org.name

user_id = opentelekomcloud_identity_user_v3.ci_cd.id
username = opentelekomcloud_identity_user_v3.ci_cd.name
auth = 3
user_id = opentelekomcloud_identity_user_v3.ci_cd.id
username = opentelekomcloud_identity_user_v3.ci_cd.name
}

resource opentelekomcloud_identity_credential_v3 "ci_cd" {
user_id = opentelekomcloud_identity_user_v3.ci_cd.id
resource "opentelekomcloud_identity_credential_v3" "ci_cd" {
description = "Created by Terraform"
user_id = opentelekomcloud_identity_user_v3.ci_cd.id
}

0 comments on commit 15cbf86

Please sign in to comment.