-
Notifications
You must be signed in to change notification settings - Fork 30
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
Yogev Ktuvim
committed
Sep 16, 2024
1 parent
ecdf762
commit 4f4ea7a
Showing
4 changed files
with
67 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,49 @@ | ||
resource "dome9_role" "role_rs" { | ||
name = "ROLE_NAME" | ||
description = "ROLE_DESC" | ||
access { | ||
type = "AWS" | ||
main_id = "MAIN_ID" | ||
region = "us_east_1" | ||
security_group_id = "SECURITY_GROUP_ID" | ||
traffic = "All Traffic" | ||
} | ||
access { | ||
type = "OrganizationalUnit" | ||
main_id = "00000000-0000-0000-0000-000000000000" | ||
} | ||
|
||
permit_notifications = false | ||
permit_rulesets = false | ||
permit_policies = false | ||
permit_alert_actions = false | ||
permit_on_boarding = false | ||
create = [] | ||
cross_account_access = [] | ||
} | ||
|
||
|
||
data "dome9_role" "data" { | ||
id = "${dome9_role.role_rs.id}" | ||
} | ||
|
||
output "getId" { | ||
value = "${data.dome9_role.data.id}" | ||
} | ||
|
||
output "getDescription" { | ||
value = "${data.dome9_role.data.description}" | ||
} | ||
|
||
output "getItems" { | ||
value = "${data.dome9_role.data.access}" | ||
} | ||
resource "dome9_role" "role_rs" { | ||
name = "ROLE_NAME" | ||
description = "ROLE_DESC" | ||
access { | ||
type = "AWS" | ||
main_id = "MAIN_ID" | ||
region = "us_east_1" | ||
security_group_id = "SECURITY_GROUP_ID" | ||
traffic = "All Traffic" | ||
} | ||
access { | ||
type = "OrganizationalUnit" | ||
main_id = "00000000-0000-0000-0000-000000000000" | ||
} | ||
|
||
manage { | ||
type = "CodeSecurityResources" | ||
main_id = "Member" | ||
} | ||
|
||
view { | ||
type = "CloudGuardResources" | ||
} | ||
|
||
permit_notifications = false | ||
permit_rulesets = false | ||
permit_policies = false | ||
permit_alert_actions = false | ||
permit_on_boarding = false | ||
create = [] | ||
cross_account_access = [] | ||
} | ||
|
||
|
||
data "dome9_role" "data" { | ||
id = "${dome9_role.role_rs.id}" | ||
} | ||
|
||
output "getId" { | ||
value = "${data.dome9_role.data.id}" | ||
} | ||
|
||
output "getDescription" { | ||
value = "${data.dome9_role.data.description}" | ||
} | ||
|
||
output "getItems" { | ||
value = "${data.dome9_role.data.access}" | ||
} |
12 changes: 6 additions & 6 deletions
12
vendor/github.com/dome9/dome9-sdk-go/services/cloudaccounts/azure_org/azure_org.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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