Skip to content

feat: enhance project with CI/CD pipeline, automated formatting, and improved outputs#32

Open
mazenessam77 wants to merge 1 commit intoNotHarshhaa:masterfrom
mazenessam77:feature/add-ci-cd-automation
Open

feat: enhance project with CI/CD pipeline, automated formatting, and improved outputs#32
mazenessam77 wants to merge 1 commit intoNotHarshhaa:masterfrom
mazenessam77:feature/add-ci-cd-automation

Conversation

@mazenessam77
Copy link
Copy Markdown

@mazenessam77 mazenessam77 commented Mar 31, 2026

Hello @NotHarshhaa,

Thank you for building and maintaining this excellent Two-Tier AWS architecture project. It has been a valuable learning resource for the DevOps community. I would like to contribute the following enhancements that improve the developer experience and project reliability — without altering the original tutorial flow.


Summary of Changes

1. GitHub Actions CI/CD Pipeline (.github/workflows/terraform-ci.yml)

  • Triggers automatically on push and pull_request to the main branch.
  • Runs three sequential jobs:
    • Format Check — ensures all .tf files follow the canonical terraform fmt style.
    • Validate — runs terraform init -backend=false + terraform validate to catch syntax and configuration errors early.
    • Plan — executes terraform plan -var-file=variables.tfvars on pull requests using AWS credentials stored in GitHub Secrets, giving reviewers a clear preview of infrastructure changes before merging.

2. Enhanced Terraform Outputs (outputs.tf + module-level outputs)

  • Added outputs.tf files to the alb-tg, aws-rds, and aws-waf-cdn-acm-route53 modules to expose key resource attributes.
  • Added a root-level outputs.tf that prints the following after a successful terraform apply:
    • Application Load Balancer DNS Name
    • CloudFront Distribution Domain Name
    • Aurora RDS Writer Endpoint
    • Aurora RDS Reader Endpoint
    • CloudFront Distribution ID (useful for cache invalidation)

3. Code Formatting

  • Ran terraform fmt -recursive across all .tf files to ensure consistent formatting.

Why These Changes Add Value

Enhancement Benefit
CI/CD Pipeline Catches formatting and syntax issues automatically on every PR, reducing manual review effort and preventing broken code from being merged.
Terraform Plan on PR Allows maintainers to review the exact infrastructure diff before approving, increasing confidence in changes.
Enhanced Outputs After terraform apply, users immediately see the ALB and CloudFront endpoints they need — no manual digging through the AWS Console.
Code Formatting Ensures a consistent code style across all contributors, improving readability.

Setup Required for terraform plan Job

For the Plan job to run, the following GitHub repository secrets must be configured:

Secret Description
AWS_ACCESS_KEY_ID AWS IAM access key with read permissions
AWS_SECRET_ACCESS_KEY AWS IAM secret key

Note: The Format and Validate jobs run without AWS credentials, so they work out of the box for all contributors.


Testing

  • terraform fmt -check -recursive passes with no diff
  • terraform validate passes successfully
  • GitHub Actions workflow YAML validated
  • No changes to existing module logic or resource configurations

Thank you for considering this contribution. I am happy to make any adjustments based on your feedback.

Best regards

Summary by CodeRabbit

  • Chores
    • Introduced GitHub Actions CI/CD workflow for automated Terraform format validation, syntax checking, and infrastructure planning triggered on push and pull request events.
    • Added infrastructure module outputs for load balancer, database, and content delivery components along with root-level outputs exposing critical resource endpoints, ARNs, and distribution identifiers.

…yment

- Add CI/CD workflow with format check, validate, and plan stages
- Add outputs.tf for ALB DNS, CloudFront domain, and RDS endpoints
- Add module-level outputs for alb-tg, aws-rds, and aws-waf-cdn-acm-route53
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

📝 Walkthrough

Walkthrough

This change adds Terraform module and root-level outputs to expose key AWS infrastructure attributes (ALB DNS, CloudFront domain, RDS endpoints), and introduces a GitHub Actions CI/CD workflow that validates Terraform code through format checks, validation, and plan stages on pull requests.

Changes

Cohort / File(s) Summary
GitHub Actions CI/CD Workflow
.github/workflows/terraform-ci.yml
New Terraform CI pipeline with three sequential jobs (format, validate, plan) triggered on push/PR to main, restricted to DevOps-Project-11/** changes. Validates syntax, initializes backend, and generates plans with AWS credentials.
Module Output Declarations
DevOps-Project-11/modules/alb-tg/outputs.tf, DevOps-Project-11/modules/aws-rds/outputs.tf, DevOps-Project-11/modules/aws-waf-cdn-acm-route53/outputs.tf
Added output declarations to expose infrastructure attributes: ALB DNS name and ARN, target group ARN; RDS cluster endpoint, reader endpoint, and port; CloudFront domain name, distribution ID, and ACM certificate ARN.
Root-Level Outputs
DevOps-Project-11/outputs.tf
New file aggregating five root outputs from modules: ALB DNS name, CloudFront domain name, RDS writer and reader endpoints, and CloudFront distribution ID for downstream consumption.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 Outputs now exposed with Terraform's care,
ALBs, CloudFront, and RDS all laid bare,
CI pipelines dancing in GitHub's array,
Infrastructure config takes center stage today!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: adding a CI/CD pipeline (GitHub Actions workflow), automated formatting (terraform fmt in the workflow), and improved outputs (new output declarations across multiple files).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🧹 Nitpick comments (1)
.github/workflows/terraform-ci.yml (1)

69-74: Consider parameterizing the AWS region.

The AWS region is hardcoded to us-east-1. If the infrastructure is deployed to a different region, the plan will either fail or produce misleading results. Consider using a repository variable or extracting the region from the Terraform configuration.

♻️ Proposed fix to use a repository variable
       - name: Configure AWS Credentials
         uses: aws-actions/configure-aws-credentials@v4
         with:
           aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
           aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
-          aws-region: us-east-1
+          aws-region: ${{ vars.AWS_REGION || 'us-east-1' }}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/terraform-ci.yml around lines 69 - 74, The workflow
currently hardcodes aws-region: us-east-1 in the
aws-actions/configure-aws-credentials@v4 step; change this to read a
configurable value (for example replace the literal with a repository variable
like ${{ vars.AWS_REGION }} or a workflow input/secret) so the region can be
overridden without editing the workflow, and update any README or workflow
defaults to document the new AWS_REGION variable; reference the "Configure AWS
Credentials" step and the aws-region key when making this change.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/terraform-ci.yml:
- Around line 55-82: The Terraform plan job fails because module output
definitions reference incorrect resource labels in the module outputs (see
alb-tg/outputs.tf and aws-rds/outputs.tf); open those output blocks and update
the referenced resource names/attributes to match the actual resource blocks
declared in their modules (or adjust the resource labels in the modules to match
the outputs), ensuring each output uses the correct symbol (e.g., target_group
ARN/ID, ALB listener ARN, RDS instance identifier) and valid attribute paths so
terraform validate/plan succeed; after changes run terraform validate locally or
in CI to confirm the mismatches are resolved.
- Around line 3-11: The workflow's event triggers currently list branches:
[main] under the push and pull_request keys so it won't run for PRs targeting
master; update the branches arrays under the on: push: and on: pull_request:
sections to include "master" (or replace "main" with "master"), or list both
["main","master"] to support both default-branch names so the workflow runs for
PRs targeting master; locate the branches: [main] entries in the workflow's
on/push and on/pull_request blocks and modify them accordingly.

In `@DevOps-Project-11/modules/alb-tg/outputs.tf`:
- Around line 1-14: The outputs in outputs.tf reference non-existent resources
(aws_lb.alb and aws_lb_target_group.tg); update the output values to use the
actual resource labels defined in main.tf: replace aws_lb.alb.dns_name and
aws_lb.alb.arn with aws_lb.web-elb.dns_name and aws_lb.web-elb.arn respectively,
and replace aws_lb_target_group.tg.arn with aws_lb_target_group.web-tg.arn so
outputs "alb_dns_name", "alb_arn", and "target_group_arn" point to the correct
resources.

In `@DevOps-Project-11/modules/aws-rds/outputs.tf`:
- Around line 1-14: The outputs rds_cluster_endpoint, rds_reader_endpoint, and
rds_cluster_port reference a non-existent resource label
aws_rds_cluster.rds-cluster; update each output value to reference the actual
RDS resource name aws_rds_cluster.aurora_cluster (e.g., use
aws_rds_cluster.aurora_cluster.endpoint,
aws_rds_cluster.aurora_cluster.reader_endpoint, and
aws_rds_cluster.aurora_cluster.port) so Terraform can resolve the resource.

In `@DevOps-Project-11/modules/aws-waf-cdn-acm-route53/outputs.tf`:
- Around line 1-14: The outputs currently reference incorrect resource labels:
update output "cloudfront_domain_name" and "cloudfront_distribution_id" to use
aws_cloudfront_distribution.cdn-web-elb-distribution instead of
aws_cloudfront_distribution.cf, and update output "acm_certificate_arn" to use
aws_acm_certificate.cert instead of aws_acm_certificate.acm; ensure the value
expressions reference the correct resource attributes (domain_name, id, arn) on
those exact resource symbols.

---

Nitpick comments:
In @.github/workflows/terraform-ci.yml:
- Around line 69-74: The workflow currently hardcodes aws-region: us-east-1 in
the aws-actions/configure-aws-credentials@v4 step; change this to read a
configurable value (for example replace the literal with a repository variable
like ${{ vars.AWS_REGION }} or a workflow input/secret) so the region can be
overridden without editing the workflow, and update any README or workflow
defaults to document the new AWS_REGION variable; reference the "Configure AWS
Credentials" step and the aws-region key when making this change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 65b5bf29-90cd-448a-9499-97dd4b8ee0c4

📥 Commits

Reviewing files that changed from the base of the PR and between 2c74041 and c3beba0.

📒 Files selected for processing (5)
  • .github/workflows/terraform-ci.yml
  • DevOps-Project-11/modules/alb-tg/outputs.tf
  • DevOps-Project-11/modules/aws-rds/outputs.tf
  • DevOps-Project-11/modules/aws-waf-cdn-acm-route53/outputs.tf
  • DevOps-Project-11/outputs.tf

Comment on lines +3 to +11
on:
push:
branches: [main]
paths:
- "DevOps-Project-11/**"
pull_request:
branches: [main]
paths:
- "DevOps-Project-11/**"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Branch mismatch: workflow triggers on main but PR targets master.

The workflow is configured to trigger on push and pull_request events to the main branch, but according to the PR objectives, this PR targets the master branch. This means the workflow will not run for this PR or future changes targeting master.

Either update the workflow to trigger on master, or ensure the repository's default branch is main.

🐛 Proposed fix if targeting master branch
 on:
   push:
-    branches: [main]
+    branches: [master]
     paths:
       - "DevOps-Project-11/**"
   pull_request:
-    branches: [main]
+    branches: [master]
     paths:
       - "DevOps-Project-11/**"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
on:
push:
branches: [main]
paths:
- "DevOps-Project-11/**"
pull_request:
branches: [main]
paths:
- "DevOps-Project-11/**"
on:
push:
branches: [master]
paths:
- "DevOps-Project-11/**"
pull_request:
branches: [master]
paths:
- "DevOps-Project-11/**"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/terraform-ci.yml around lines 3 - 11, The workflow's event
triggers currently list branches: [main] under the push and pull_request keys so
it won't run for PRs targeting master; update the branches arrays under the on:
push: and on: pull_request: sections to include "master" (or replace "main" with
"master"), or list both ["main","master"] to support both default-branch names
so the workflow runs for PRs targeting master; locate the branches: [main]
entries in the workflow's on/push and on/pull_request blocks and modify them
accordingly.

Comment on lines +55 to +82
plan:
name: Terraform Plan
runs-on: ubuntu-latest
needs: validate
if: github.event_name == 'pull_request'
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TF_VERSION }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Terraform Init
working-directory: ${{ env.WORKING_DIR }}
run: terraform init

- name: Terraform Plan
working-directory: ${{ env.WORKING_DIR }}
run: terraform plan -var-file=variables.tfvars -no-color -input=false
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Plan job is well-configured but will fail due to module output errors.

The plan job structure is correct—it runs only on PRs, configures AWS credentials, and uses the correct var-file. However, it will fail during terraform validate (in the earlier job) due to the resource label mismatches in the module outputs (alb-tg/outputs.tf and aws-rds/outputs.tf).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/terraform-ci.yml around lines 55 - 82, The Terraform plan
job fails because module output definitions reference incorrect resource labels
in the module outputs (see alb-tg/outputs.tf and aws-rds/outputs.tf); open those
output blocks and update the referenced resource names/attributes to match the
actual resource blocks declared in their modules (or adjust the resource labels
in the modules to match the outputs), ensuring each output uses the correct
symbol (e.g., target_group ARN/ID, ALB listener ARN, RDS instance identifier)
and valid attribute paths so terraform validate/plan succeed; after changes run
terraform validate locally or in CI to confirm the mismatches are resolved.

Comment on lines +1 to +14
output "alb_dns_name" {
description = "The DNS name of the Application Load Balancer"
value = aws_lb.alb.dns_name
}

output "alb_arn" {
description = "The ARN of the Application Load Balancer"
value = aws_lb.alb.arn
}

output "target_group_arn" {
description = "The ARN of the ALB target group"
value = aws_lb_target_group.tg.arn
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Resource label mismatches will cause terraform to fail.

All outputs reference incorrect resource labels. According to DevOps-Project-11/modules/alb-tg/main.tf:

  • The ALB resource is labeled web-elb, not alb
  • The target group resource is labeled web-tg, not tg

These mismatches will cause terraform validate and terraform plan to fail with undefined reference errors.

🐛 Proposed fix to correct resource references
 output "alb_dns_name" {
   description = "The DNS name of the Application Load Balancer"
-  value       = aws_lb.alb.dns_name
+  value       = aws_lb.web-elb.dns_name
 }

 output "alb_arn" {
   description = "The ARN of the Application Load Balancer"
-  value       = aws_lb.alb.arn
+  value       = aws_lb.web-elb.arn
 }

 output "target_group_arn" {
   description = "The ARN of the ALB target group"
-  value       = aws_lb_target_group.tg.arn
+  value       = aws_lb_target_group.web-tg.arn
 }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
output "alb_dns_name" {
description = "The DNS name of the Application Load Balancer"
value = aws_lb.alb.dns_name
}
output "alb_arn" {
description = "The ARN of the Application Load Balancer"
value = aws_lb.alb.arn
}
output "target_group_arn" {
description = "The ARN of the ALB target group"
value = aws_lb_target_group.tg.arn
}
output "alb_dns_name" {
description = "The DNS name of the Application Load Balancer"
value = aws_lb.web-elb.dns_name
}
output "alb_arn" {
description = "The ARN of the Application Load Balancer"
value = aws_lb.web-elb.arn
}
output "target_group_arn" {
description = "The ARN of the ALB target group"
value = aws_lb_target_group.web-tg.arn
}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@DevOps-Project-11/modules/alb-tg/outputs.tf` around lines 1 - 14, The outputs
in outputs.tf reference non-existent resources (aws_lb.alb and
aws_lb_target_group.tg); update the output values to use the actual resource
labels defined in main.tf: replace aws_lb.alb.dns_name and aws_lb.alb.arn with
aws_lb.web-elb.dns_name and aws_lb.web-elb.arn respectively, and replace
aws_lb_target_group.tg.arn with aws_lb_target_group.web-tg.arn so outputs
"alb_dns_name", "alb_arn", and "target_group_arn" point to the correct
resources.

Comment on lines +1 to +14
output "rds_cluster_endpoint" {
description = "The writer endpoint of the Aurora RDS cluster"
value = aws_rds_cluster.rds-cluster.endpoint
}

output "rds_reader_endpoint" {
description = "The reader endpoint of the Aurora RDS cluster"
value = aws_rds_cluster.rds-cluster.reader_endpoint
}

output "rds_cluster_port" {
description = "The port of the Aurora RDS cluster"
value = aws_rds_cluster.rds-cluster.port
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Resource label mismatch will cause terraform to fail.

All outputs reference aws_rds_cluster.rds-cluster, but according to DevOps-Project-11/modules/aws-rds/main.tf (lines 9-25), the RDS cluster resource is labeled aurora_cluster (with underscore), not rds-cluster (with hyphen).

This mismatch will cause terraform validate and terraform plan to fail with undefined reference errors.

🐛 Proposed fix to correct resource references
 output "rds_cluster_endpoint" {
   description = "The writer endpoint of the Aurora RDS cluster"
-  value       = aws_rds_cluster.rds-cluster.endpoint
+  value       = aws_rds_cluster.aurora_cluster.endpoint
 }

 output "rds_reader_endpoint" {
   description = "The reader endpoint of the Aurora RDS cluster"
-  value       = aws_rds_cluster.rds-cluster.reader_endpoint
+  value       = aws_rds_cluster.aurora_cluster.reader_endpoint
 }

 output "rds_cluster_port" {
   description = "The port of the Aurora RDS cluster"
-  value       = aws_rds_cluster.rds-cluster.port
+  value       = aws_rds_cluster.aurora_cluster.port
 }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
output "rds_cluster_endpoint" {
description = "The writer endpoint of the Aurora RDS cluster"
value = aws_rds_cluster.rds-cluster.endpoint
}
output "rds_reader_endpoint" {
description = "The reader endpoint of the Aurora RDS cluster"
value = aws_rds_cluster.rds-cluster.reader_endpoint
}
output "rds_cluster_port" {
description = "The port of the Aurora RDS cluster"
value = aws_rds_cluster.rds-cluster.port
}
output "rds_cluster_endpoint" {
description = "The writer endpoint of the Aurora RDS cluster"
value = aws_rds_cluster.aurora_cluster.endpoint
}
output "rds_reader_endpoint" {
description = "The reader endpoint of the Aurora RDS cluster"
value = aws_rds_cluster.aurora_cluster.reader_endpoint
}
output "rds_cluster_port" {
description = "The port of the Aurora RDS cluster"
value = aws_rds_cluster.aurora_cluster.port
}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@DevOps-Project-11/modules/aws-rds/outputs.tf` around lines 1 - 14, The
outputs rds_cluster_endpoint, rds_reader_endpoint, and rds_cluster_port
reference a non-existent resource label aws_rds_cluster.rds-cluster; update each
output value to reference the actual RDS resource name
aws_rds_cluster.aurora_cluster (e.g., use
aws_rds_cluster.aurora_cluster.endpoint,
aws_rds_cluster.aurora_cluster.reader_endpoint, and
aws_rds_cluster.aurora_cluster.port) so Terraform can resolve the resource.

Comment on lines +1 to +14
output "cloudfront_domain_name" {
description = "The domain name of the CloudFront distribution"
value = aws_cloudfront_distribution.cf.domain_name
}

output "cloudfront_distribution_id" {
description = "The ID of the CloudFront distribution"
value = aws_cloudfront_distribution.cf.id
}

output "acm_certificate_arn" {
description = "The ARN of the ACM certificate"
value = aws_acm_certificate.acm.arn
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify CloudFront and ACM resource labels in the module's main.tf

echo "=== Searching for CloudFront distribution resource label ==="
rg -n 'resource\s+"aws_cloudfront_distribution"' DevOps-Project-11/modules/aws-waf-cdn-acm-route53/

echo ""
echo "=== Searching for ACM certificate resource label ==="
rg -n 'resource\s+"aws_acm_certificate"' DevOps-Project-11/modules/aws-waf-cdn-acm-route53/

Repository: NotHarshhaa/DevOps-Projects

Length of output: 411


Fix resource label references in outputs — both CloudFront and ACM certificate references are incorrect.

The outputs reference non-existent resource labels:

  • Line 3 references aws_cloudfront_distribution.cf, but the resource is labeled aws_cloudfront_distribution.cdn-web-elb-distribution (in cdn.tf)
  • Line 13 references aws_acm_certificate.acm, but the resource is labeled aws_acm_certificate.cert (in acm.tf)

Update lines 3 and 8 to use aws_cloudfront_distribution.cdn-web-elb-distribution and line 13 to use aws_acm_certificate.cert.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@DevOps-Project-11/modules/aws-waf-cdn-acm-route53/outputs.tf` around lines 1
- 14, The outputs currently reference incorrect resource labels: update output
"cloudfront_domain_name" and "cloudfront_distribution_id" to use
aws_cloudfront_distribution.cdn-web-elb-distribution instead of
aws_cloudfront_distribution.cf, and update output "acm_certificate_arn" to use
aws_acm_certificate.cert instead of aws_acm_certificate.acm; ensure the value
expressions reference the correct resource attributes (domain_name, id, arn) on
those exact resource symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants