mirror of
https://github.com/ghndrx/terraform-foundation.git
synced 2026-02-10 06:45:06 +00:00
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
28 lines
768 B
HCL
28 lines
768 B
HCL
################################################################################
|
|
# 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"
|
|
}
|