woragis/Terraform React Deploy To AWS
Deploy a React app using Terraform and S3
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| project-name | The project name used for naming resources and tags | yes | — |
| project-type | The project name used for naming resources and tags | yes | — |
| terraform-dir | Directory where the Terraform code is located | yes | — |
| aws-region | AWS region for deployment | no | us-east-1 |
| domain-name | Domain name to check for an existing hosted zone | yes | — |
| subdomain | Subdomain of the app | yes | — |
| bucket-name | Custom S3 bucket name | no | null |
| environment | Deployment environment (e.g., dev, prod, staging) | no | dev |
| create-zone | Create a new Route 53 hosted zone | no | false |
| tags | Tags to apply to the resources | no | null |
Outputs
| name | description |
|---|---|
| s3_bucket_name | The name of the S3 bucket created or used |
| website_endpoint | S3 static website endpoint |