mirror of
https://github.com/ghndrx/terraform-foundation.git
synced 2026-02-10 14:54:56 +00:00
feat: Terraform Foundation - AWS Landing Zone
Enterprise-grade multi-tenant AWS cloud foundation. Modules: - GitHub OIDC for keyless CI/CD authentication - IAM account settings and security baseline - AWS Config Rules for compliance - ABAC (Attribute-Based Access Control) - SCPs (Service Control Policies) Features: - Multi-account architecture - Cost optimization patterns - Security best practices - Comprehensive documentation Tech: Terraform, AWS Organizations, IAM Identity Center
This commit is contained in:
27
terraform/modules/ram-share/outputs.tf
Normal file
27
terraform/modules/ram-share/outputs.tf
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# RAM Share - Outputs
|
||||
################################################################################
|
||||
|
||||
output "share_arn" {
|
||||
value = aws_ram_resource_share.this.arn
|
||||
description = "Resource share ARN"
|
||||
}
|
||||
|
||||
output "share_id" {
|
||||
value = aws_ram_resource_share.this.id
|
||||
description = "Resource share ID"
|
||||
}
|
||||
|
||||
output "resource_associations" {
|
||||
value = { for k, v in aws_ram_resource_association.this : k => v.id }
|
||||
description = "Map of resource associations"
|
||||
}
|
||||
|
||||
output "principal_count" {
|
||||
value = (
|
||||
(var.share_with_organization ? 1 : 0) +
|
||||
length(var.principal_ous) +
|
||||
length(var.principal_accounts)
|
||||
)
|
||||
description = "Number of principals shared with"
|
||||
}
|
||||
Reference in New Issue
Block a user