mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
feat(terraform): Created GDB organization
This commit is contained in:
parent
aa368614b1
commit
bc760704f1
22
terraform/organization.tf
Normal file
22
terraform/organization.tf
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
resource "aws_organizations_organization" "org" {
|
||||||
|
aws_service_access_principals = [
|
||||||
|
"cloudtrail.amazonaws.com",
|
||||||
|
"config.amazonaws.com",
|
||||||
|
]
|
||||||
|
|
||||||
|
feature_set = "ALL"
|
||||||
|
}
|
||||||
|
|
||||||
|
data "aws_organizations_organization" "gdb" {}
|
||||||
|
|
||||||
|
resource "aws_organizations_organizational_unit" "gdb" {
|
||||||
|
name = "Gender Dysphoria Bible"
|
||||||
|
parent_id = data.aws_organizations_organization.gdb.roots[0].id
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_organizations_account" "account" {
|
||||||
|
name = "gdb-manage"
|
||||||
|
email = "aws@genderdysphoria.fyi"
|
||||||
|
parent_id = aws_organizations_organizational_unit.gdb.id
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user