Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(module/project): Update variables #7

Merged
merged 2 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/module-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- run: terraform init
- run: terraform fmt -check
- run: terraform fmt -diff -check
- run: terraform validate
102 changes: 102 additions & 0 deletions modules/project/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ No resources.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_billing_account"></a> [billing\_account](#input\_billing\_account) | The billing account id | `string` | n/a | yes |
| <a name="input_org_id"></a> [org\_id](#input\_org\_id) | The organization id number | `string` | n/a | yes |
| <a name="input_org_id_number"></a> [org\_id\_number](#input\_org\_id\_number) | The organization id number | `string` | n/a | yes |
| <a name="input_project_name"></a> [project\_name](#input\_project\_name) | The name of the project | `string` | n/a | yes |

## Outputs
Expand Down
2 changes: 1 addition & 1 deletion modules/project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ module "project-factory" {
version = "14.3.0"
name = var.project_name
billing_account = var.billing_account
org_id = var.org_id
org_id = var.org_id_number
}
2 changes: 1 addition & 1 deletion modules/project/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "project_name" {
description = "The name of the project"
}

variable "org_id" {
variable "org_id_number" {
type = string
description = "The organization id number"
}
Expand Down