Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c4b62413
Commit
c4b62413
authored
Jan 31, 2022
by
Tiger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Terraform state name restrictions to an explicit warning
parent
a9e21ddc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
doc/user/infrastructure/iac/terraform_state.md
doc/user/infrastructure/iac/terraform_state.md
+6
-3
No files found.
doc/user/infrastructure/iac/terraform_state.md
View file @
c4b62413
...
...
@@ -74,9 +74,8 @@ local machine, this is a simple way to get started:
1.
On your local machine, run
`terraform init`
, passing in the following options,
replacing
`<YOUR-STATE-NAME>`
,
`<YOUR-PROJECT-ID>`
,
`<YOUR-USERNAME>`
and
`<YOUR-ACCESS-TOKEN>`
with the relevant values. This command initializes your
Terraform state, and stores that state in your GitLab project. The name of
your state can contain only uppercase and lowercase letters, decimal digits,
hyphens, and underscores. This example uses
`gitlab.com`
:
Terraform state, and stores that state in your GitLab project. This example
uses
`gitlab.com`
:
```
shell
terraform init
\
...
...
@@ -90,6 +89,10 @@ local machine, this is a simple way to get started:
-backend-config
=
"retry_wait_min=5"
```
WARNING:
The name of your state can contain only uppercase and lowercase letters, decimal digits,
hyphens, and underscores.
If you already have a GitLab-managed Terraform state, you can use the
`terraform init`
command
with the pre-populated parameters values:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment