-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reaper Ingress file and output service account. (#19)
* Reaper Ingress file and output service account. * Service Account key for access medusa * Terraform README.md files standardization * Terraform module output variable documentation. * Terraform Formatting and tags * Terraform backed documentation * Update reaper-ingress.yaml * Terraform backend configuration template.
- Loading branch information
1 parent
42fea7d
commit 4385cba
Showing
18 changed files
with
304 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,46 @@ | ||
# Terraform google cloud storage module | ||
This is a Dynamic modules in Terraform to create a GCS bucket and assign basic persmissions to the users. | ||
|
||
This is a Dynamic modules in Terraform to create a GCS bucket and assign basic permissions to the users. | ||
|
||
* main.tf : contains all the resources which will be created with `terraform apply` command. | ||
* variables.tf : contains all variables required to create the resources. | ||
* outputs.tf : contains output attributes of the resources. | ||
|
||
## google cloud resources created | ||
* google cloud storage bucket | ||
* google storage bucket iam member | ||
## Requirements | ||
|
||
No requirements. | ||
|
||
## Providers | ||
|
||
| NAME | Version | | ||
|-------------------|------------| | ||
| terraform version | 0.14 | | ||
| gcp provider | ~>3.0 | | ||
| Name | Version | | ||
|------|---------| | ||
| <a name="provider_google"></a> [google](#provider\_google) | 3.0 | | ||
|
||
## Modules | ||
|
||
No modules. | ||
|
||
## Resources | ||
|
||
| Name | Type | | ||
|------|------| | ||
| [google_storage_bucket.storage_bucket](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket) | resource | | ||
| [google_storage_bucket_iam_member.storage_bucket_iam_member](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket_iam_member) | resource | | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Required | | ||
|-------------------|----------------|--------|:------------:| | ||
| name | name of the cluster and prefix of the related resources names | `string` | yes | | ||
| project_id | Id of the project which holds the components | `string` | yes | | ||
| region | the region to create the vpc network | `string` | yes | | ||
| storage_class | Storage class for the gcs bucket | `string` | no | | ||
| bucket_policy_only | Enables Bucket Policy Only access to a bucket | `boolean` | no | | ||
| role | Role of the google storage bucket iam member | `string` | no | | ||
| service_account | service account email address | `string` | yes | | ||
|
||
## Output | ||
|
||
| Name | description | | ||
|-------------|:----------------:| | ||
| bucket_name | name of the google cloud storage bucket | | ||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| <a name="input_bucket_policy_only"></a> [bucket\_policy\_only](#input\_bucket\_policy\_only) | Enables Bucket Policy Only access to a bucket. | `bool` | `true` | no | | ||
| <a name="input_environment"></a> [environment](#input\_environment) | The environment of the infrastructure being built. | `string` | n/a | yes | | ||
| <a name="input_name"></a> [name](#input\_name) | Globally unique name of the bucket | `string` | n/a | yes | | ||
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | The ID of the project to create the bucket in. | `string` | n/a | yes | | ||
| <a name="input_region"></a> [region](#input\_region) | location of the bucket | `string` | n/a | yes | | ||
| <a name="input_role"></a> [role](#input\_role) | Role of the google storage bucket iam member | `string` | `"roles/storage.admin"` | no | | ||
| <a name="input_service_account"></a> [service\_account](#input\_service\_account) | service account email address | `string` | n/a | yes | | ||
| <a name="input_storage_class"></a> [storage\_class](#input\_storage\_class) | Storage class for the gcs bucket | `string` | `null` | no | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| <a name="output_bucket_name"></a> [bucket\_name](#output\_bucket\_name) | name of the google cloud storage bucket | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.