Commit 40dc47c6 authored by Tiger's avatar Tiger

Use valid bucket name in Terraform state examples

parent 7315fd5e
......@@ -360,7 +360,7 @@ production: &base
# storage_path: shared/terraform_state
object_store:
enabled: false
remote_directory: terraform_state # The bucket name
remote_directory: terraform # The bucket name
connection:
provider: AWS
aws_access_key_id: AWS_ACCESS_KEY_ID
......@@ -1253,7 +1253,7 @@ test:
storage_path: tmp/tests/terraform_state
object_store:
enabled: false
remote_directory: terraform_state
remote_directory: terraform
connection:
provider: AWS # Only AWS supported at the moment
aws_access_key_id: AWS_ACCESS_KEY_ID
......
......@@ -78,7 +78,7 @@ See [the available connection settings for different providers](object_storage.m
```ruby
gitlab_rails['terraform_state_enabled'] = true
gitlab_rails['terraform_state_object_store_enabled'] = true
gitlab_rails['terraform_state_object_store_remote_directory'] = "terraform_state"
gitlab_rails['terraform_state_object_store_remote_directory'] = "terraform"
gitlab_rails['terraform_state_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'eu-central-1',
......@@ -110,7 +110,7 @@ See [the available connection settings for different providers](object_storage.m
enabled: true
object_store:
enabled: true
remote_directory: "terraform_state" # The bucket name
remote_directory: "terraform" # The bucket name
connection:
provider: AWS # Only AWS supported at the moment
aws_access_key_id: AWS_ACESS_KEY_ID
......
......@@ -73,7 +73,7 @@ module StubObjectStorage
def stub_terraform_state_object_storage(uploader = described_class, **params)
stub_object_storage_uploader(config: Gitlab.config.terraform_state.object_store,
uploader: uploader,
remote_directory: 'terraform_state',
remote_directory: 'terraform',
**params)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment