Skip to content

Commit 2eb5497

Browse files
committed
add import note
1 parent 7b2b342 commit 2eb5497

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/2.0/docs/pipelines/installation/addinggitlabrepo.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,22 @@ First, you'll need to install [mise](https://mise.jdx.dev/), a powerful environm
126126

127127
2. Apply these configurations to create the required AWS resources:
128128
```bash
129-
cd $ACCOUNT/_global/
129+
cd $$ACCOUNT_NAME$$/_global/
130130
terragrunt run-all plan
131131
terragrunt run-all apply
132132
```
133133

134+
:::note
135+
136+
In the event you already have an OIDC provider for your SCM in the AWS account you can import the existing one:
137+
138+
```
139+
cd _global/$$ACCOUNT_NAME$$/gitlab-pipelines-openid-connect-provider/
140+
terragrunt import "aws_iam_openid_connect_provider.gitlab" "ARN_OF_EXISTING_OIDC_PROVIDER"
141+
```
142+
143+
144+
:::
134145

135146
### Step 5: Complete the Setup
136147

0 commit comments

Comments
 (0)