-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
910d059
commit 99443d8
Showing
8 changed files
with
286 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
terraform import aiven_organization.main ORGANIZATION_ID/PROJECT_ID | ||
terraform import aiven_organization_project.example_project ORGANIZATION_ID/PROJECT_ID |
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,11 +1,19 @@ | ||
resource "aiven_organization_project" "foo" { | ||
project_id = "example-project" | ||
|
||
organization_id = aiven_organization.foo.id | ||
billing_group_id = aiven_billing_group.foo.id | ||
# Create a project within an organization | ||
resource "aiven_organization_project" "example_project" { | ||
project_id = "example-project" | ||
organization_id = aiven_organization.main.id | ||
billing_group_id = aiven_billing_group.main.id | ||
|
||
tag { | ||
key = "key_1" | ||
value = "value_1" | ||
key = "env" | ||
value = "prod" | ||
} | ||
} | ||
|
||
# Create a project within an organizational unit | ||
resource "aiven_organization_project" "example_project" { | ||
project_id = "example-project" | ||
organization_id = aiven_organization.main.id | ||
parent_id = data.organizational_unit.example_unit.id | ||
billing_group_id = aiven_billing_group.main.id | ||
} |
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