Skip to content

abhi1094/tf-sample-projects

Repository files navigation

Data Management Pipeline with Terraform Overview This Terraform code deploys a data management pipeline infrastructure on AWS. The pipeline includes components for data ingestion, processing, and storage.

Prerequisites Before you begin, ensure you have:

Terraform installed locally. AWS credentials configured with the necessary permissions. Getting Started Clone the repository:

bash Copy code git clone https://github.com/your-username/your-repository.git Change into the project directory:

bash Copy code cd your-repository Initialize Terraform:

bash Copy code terraform init Review and customize the variables.tf file to match your requirements.

Deploy the infrastructure:

bash Copy code terraform apply Follow the prompts to confirm and apply the changes.

Infrastructure Components

  1. Data Ingestion S3 Bucket: Stores raw data files. AWS Glue Crawler: Discovers and catalogs data stored in the S3 bucket.
  2. Data Processing AWS Glue Job: Transforms and processes the raw data. AWS Glue Crawler: Updates the catalog with the processed data.
  3. Data Storage Amazon Redshift: Data warehouse for storage and analytics. Cleanup To destroy the infrastructure and clean up resources:

bash Copy code terraform destroy Contributing If you'd like to contribute to this project, please follow the contribution guidelines.

https://blog.devops.dev/using-pre-commit-hooks-with-terraform-code-5cc14162d490

https://techblog.flaviusdinu.com/github-actions-pipelines-for-terraform-32f1171d18dc

aws ssm send-command \

--document-name "AWS-RunRemoteScript" \

--targets "Key=instanceids,Values=i-XXXXXXXXXXXXX" \

--parameters '{"sourceType":["S3"],"sourceInfo":["{"path":"https://s3.amazonaws.com/BUCKET-NAME/PREFIX/Create-ChromeVHDX.ps1"}"],"commandLine":["Create-ChromeVHDX.ps1 -installSize 650 -vhdName Chrome -vhdS3Bucket BUCKET-NAME -vhdMountPath "C:\Program Files\Google\" -force $true"]}'

License This project is licensed under the MIT License.

give me a public subnet in 10.10.0.0/24 VPC which should collide with 10.10.0.0/26 10.10.0.192/26 10.10.0.128/26 10.10.0.64/26

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published