Skip to content

Commit

Permalink
Update TGA Acceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
ranikamadurawe committed Jun 20, 2024
1 parent d9a4395 commit 2d0d717
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 6 deletions.
5 changes: 0 additions & 5 deletions modules/aws/EKS-Node-Group/eks_node_group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ resource "aws_eks_node_group" "eks_node_group" {

tags = local.ng_tags

lifecycle {
ignore_changes = [

]
}
}

resource "aws_launch_template" "eks_launch_template" {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -------------------------------------------------------------------------------------
#
# Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com). All Rights Reserved.
#
# This software is the property of WSO2 LLC. and its suppliers, if any.
# Dissemination of any information or reproduction of any material contained
# herein in any form is strictly forbidden, unless permitted by WSO2 expressly.
# You may not alter or remove any copyright or other notice from copies of this content.
#
# --------------------------------------------------------------------------------------

resource "aws_ec2_transit_gateway_vpc_attachment_accepter" "ec2_transit_gateway_vpc_attachment_accepter" {
transit_gateway_attachment_id = var.attachment_id

tags = var.tags
}
19 changes: 19 additions & 0 deletions modules/aws/Transit-Gateway-Attachment-Acceptor/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -------------------------------------------------------------------------------------
#
# Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com). All Rights Reserved.
#
# This software is the property of WSO2 LLC. and its suppliers, if any.
# Dissemination of any information or reproduction of any material contained
# herein in any form is strictly forbidden, unless permitted by WSO2 expressly.
# You may not alter or remove any copyright or other notice from copies of this content.
#
# --------------------------------------------------------------------------------------

variable "attachment_id" {
description = "The ID of the attachment."
type = string
}
variable "tags" {
description = "Tags to be added with all resources"
type = map(string)
}
20 changes: 20 additions & 0 deletions modules/aws/Transit-Gateway-Attachment-Acceptor/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -------------------------------------------------------------------------------------
#
# Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). All Rights Reserved.
#
# This software is the property of WSO2 LLC. and its suppliers, if any.
# Dissemination of any information or reproduction of any material contained
# herein in any form is strictly forbidden, unless permitted by WSO2 expressly.
# You may not alter or remove any copyright or other notice from copies of this content.
#
# --------------------------------------------------------------------------------------

terraform {
required_version = ">= 1.3.8"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
}
2 changes: 1 addition & 1 deletion modules/aws/Transit-Gateway/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ output "propagation_default_route_table_id" {
value = aws_ec2_transit_gateway.ec2_transit_gateway.propagation_default_route_table_id
}
output "transit_gateway_arn" {
value = aws_ec2_transit_gateway.ec2_transit_gateway.arn
value = aws_ec2_transit_gateway.ec2_transit_gateway.arn
}

0 comments on commit 2d0d717

Please sign in to comment.