Skip to content

Commit e954b3a

Browse files
authored
Merge pull request #3 from SPHTech-Platform/enhancement/cleanup
Code cleanup before making public
2 parents 95afdba + 94805a2 commit e954b3a

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

.DS_Store

-6 KB
Binary file not shown.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2022-present SPH Media
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,35 @@
1+
Terraform module that creates the Codepipeline with source(codestar connection) and build(codebuild) stages.
2+
13
<!-- BEGIN_TF_DOCS -->
24
## Requirements
35

46
| Name | Version |
57
|------|---------|
68
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
7-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.21 |
9+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 4.24 |
810

911
## Providers
1012

1113
| Name | Version |
1214
|------|---------|
13-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
15+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.24.0 |
1416

1517
## Modules
1618

17-
No modules.
19+
| Name | Source | Version |
20+
|------|--------|---------|
21+
| <a name="module_codebuild"></a> [codebuild](#module\_codebuild) | github.com/SPHTech-Platform/terraform-aws-codebuild | n/a |
1822

1923
## Resources
2024

2125
| Name | Type |
2226
|------|------|
23-
| [aws_codebuild_project.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codebuild_project) | resource |
2427
| [aws_codepipeline.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codepipeline) | resource |
25-
| [aws_iam_role.codebuild](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
2628
| [aws_iam_role.codepipeline](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
27-
| [aws_kms_key.kms_key](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key) | resource |
28-
| [aws_iam_policy_document.codebuild_assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
29-
| [aws_iam_policy_document.codebuild_iam](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
30-
| [aws_iam_policy_document.codebuild_inline_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
31-
| [aws_iam_policy_document.codebuild_kms](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
32-
| [aws_iam_policy_document.codebuild_logstream](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
33-
| [aws_iam_policy_document.codebuild_s3](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
34-
| [aws_iam_policy_document.codebuild_vpc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3529
| [aws_iam_policy_document.codepipeline_assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3630
| [aws_iam_policy_document.codepipeline_codebuild](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3731
| [aws_iam_policy_document.codepipeline_codestar](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
3832
| [aws_iam_policy_document.codepipeline_inline_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
39-
| [aws_iam_policy_document.codepipeline_kms](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
4033
| [aws_iam_policy_document.codepipeline_s3](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
4134

4235
## Inputs
@@ -47,6 +40,7 @@ No modules.
4740
| <a name="input_codebuild_additional_iam"></a> [codebuild\_additional\_iam](#input\_codebuild\_additional\_iam) | Additional IAM Policy Document for Codebuild | `list(any)` | `[]` | no |
4841
| <a name="input_codebuild_buildspec_path"></a> [codebuild\_buildspec\_path](#input\_codebuild\_buildspec\_path) | buildspec.yml location in the artifact | `string` | `"buildspec.yml"` | no |
4942
| <a name="input_codebuild_compute_type"></a> [codebuild\_compute\_type](#input\_codebuild\_compute\_type) | The Compute Type of the Codebuild Container | `string` | `"BUILD_GENERAL1_MEDIUM"` | no |
43+
| <a name="input_codebuild_description"></a> [codebuild\_description](#input\_codebuild\_description) | Description of the Codebuild | `string` | `""` | no |
5044
| <a name="input_codebuild_image"></a> [codebuild\_image](#input\_codebuild\_image) | Codebuild Image that will be use | `string` | `"aws/codebuild/standard:5.0"` | no |
5145
| <a name="input_codebuild_name"></a> [codebuild\_name](#input\_codebuild\_name) | Name of the Codebuild | `string` | n/a | yes |
5246
| <a name="input_codepipeline_additional_iam"></a> [codepipeline\_additional\_iam](#input\_codepipeline\_additional\_iam) | Additional IAM Policy Document needed by Codepipeline | `list(any)` | `[]` | no |

0 commit comments

Comments
 (0)