generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates from GitHub Actions Format Code workflow (#4675)
Co-authored-by: modernisation-platform-ci <[email protected]>
- Loading branch information
1 parent
f0ae112
commit 0d5f8da
Showing
5 changed files
with
24 additions
and
24 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
data "aws_route53_zone" "private" { | ||
provider = aws.core-network-services | ||
name = var.business_unit_name | ||
private_zone = true | ||
provider = aws.core-network-services | ||
name = var.business_unit_name | ||
private_zone = true | ||
} | ||
|
||
resource "aws_route53_vpc_association_authorization" "private_zone_vpc_auth" { | ||
provider = aws.core-network-services | ||
vpc_id = var.vpc_id | ||
zone_id = data.aws_route53_zone.private.zone_id | ||
provider = aws.core-network-services | ||
vpc_id = var.vpc_id | ||
zone_id = data.aws_route53_zone.private.zone_id | ||
} | ||
|
||
resource "aws_route53_zone_association" "private_zone_assoc" { | ||
vpc_id = aws_route53_vpc_association_authorization.private_zone_vpc_auth.zone_id | ||
zone_id = aws_route53_vpc_association_authorization.private_zone_vpc_auth.vpc_id | ||
resource "aws_route53_zone_association" "private_zone_assoc" { | ||
vpc_id = aws_route53_vpc_association_authorization.private_zone_vpc_auth.zone_id | ||
zone_id = aws_route53_vpc_association_authorization.private_zone_vpc_auth.vpc_id | ||
} | ||
|
||
output "zonenametest" { | ||
value = data.aws_route53_zone.private.zone_id | ||
value = data.aws_route53_zone.private.zone_id | ||
|
||
} |
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,9 +1,9 @@ | ||
variable "business_unit_name" { | ||
description = "Variable for passing account name to module for dns lookup" | ||
type = string | ||
type = string | ||
} | ||
|
||
variable "vpc_id" { | ||
description = "Variable for the vpc id to be passed to the module" | ||
type = string | ||
type = string | ||
} |
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