fix(docs): fix indentation in s3 guide (#1062)

This commit is contained in:
Mauritz Uphoff 2025-11-25 16:16:51 +01:00 committed by GitHub
parent 25134e8fe9
commit f1a49e6ec4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 122 additions and 122 deletions

View file

@ -5,7 +5,7 @@ page_title: "Using AWS Provider for STACKIT Object Storage (S3 compatible)"
## Overview
This guide outlines the process of utilizing the [AWS Terraform Provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) alongside the STACKIT provider to create and manage STACKIT Object Storage (S3 compatible) ressources.
This guide outlines the process of utilizing the [AWS Terraform Provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) alongside the STACKIT provider to create and manage STACKIT Object Storage (S3 compatible) resources.
## Steps
@ -43,7 +43,7 @@ This guide outlines the process of utilizing the [AWS Terraform Provider](https:
3. **Configure AWS Provider**
Configure the AWS Provider to connect to the STACKIT Object Storage bucket.
Configure the AWS provider to connect to the STACKIT Object Storage bucket.
```hcl
provider "aws" {
@ -61,7 +61,7 @@ This guide outlines the process of utilizing the [AWS Terraform Provider](https:
}
```
4. **Use the provider to manage objects or policies**
4. **Use the Provider to Manage Objects or Policies**
```hcl
resource "aws_s3_object" "test_file" {
@ -73,16 +73,16 @@ This guide outlines the process of utilizing the [AWS Terraform Provider](https:
}
resource "aws_s3_bucket_policy" "allow_public_read_access" {
bucket = stackit_objectstorage_bucket.test20.name
bucket = stackit_objectstorage_bucket.example.name
policy = <<EOF
{
"Statement":[
"Statement": [
{
"Sid": "Public GET",
"Effect":"Allow",
"Principal":"*",
"Action":"s3:GetObject",
"Resource":"urn:sgws:s3:::example/*"
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "urn:sgws:s3:::example/*"
}
]
}

View file

@ -5,7 +5,7 @@ page_title: "Using AWS Provider for STACKIT Object Storage (S3 compatible)"
## Overview
This guide outlines the process of utilizing the [AWS Terraform Provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) alongside the STACKIT provider to create and manage STACKIT Object Storage (S3 compatible) ressources.
This guide outlines the process of utilizing the [AWS Terraform Provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) alongside the STACKIT provider to create and manage STACKIT Object Storage (S3 compatible) resources.
## Steps
@ -43,7 +43,7 @@ This guide outlines the process of utilizing the [AWS Terraform Provider](https:
3. **Configure AWS Provider**
Configure the AWS Provider to connect to the STACKIT Object Storage bucket.
Configure the AWS provider to connect to the STACKIT Object Storage bucket.
```hcl
provider "aws" {
@ -61,7 +61,7 @@ This guide outlines the process of utilizing the [AWS Terraform Provider](https:
}
```
4. **Use the provider to manage objects or policies**
4. **Use the Provider to Manage Objects or Policies**
```hcl
resource "aws_s3_object" "test_file" {
@ -73,16 +73,16 @@ This guide outlines the process of utilizing the [AWS Terraform Provider](https:
}
resource "aws_s3_bucket_policy" "allow_public_read_access" {
bucket = stackit_objectstorage_bucket.test20.name
bucket = stackit_objectstorage_bucket.example.name
policy = <<EOF
{
"Statement":[
"Statement": [
{
"Sid": "Public GET",
"Effect":"Allow",
"Principal":"*",
"Action":"s3:GetObject",
"Resource":"urn:sgws:s3:::example/*"
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "urn:sgws:s3:::example/*"
}
]
}