{"id":27156725,"url":"https://github.com/cyberadam-ui/terraform-ec2-wordpress","last_synced_at":"2026-04-12T07:37:40.210Z","repository":{"id":286194189,"uuid":"960658236","full_name":"CyberAdam-ui/terraform-ec2-wordpress","owner":"CyberAdam-ui","description":"Terraform configuration to deploy a Bitnami WordPress EC2 instance in AWS.","archived":false,"fork":false,"pushed_at":"2025-04-05T11:31:22.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T04:08:13.866Z","etag":null,"topics":["aws","ec2","infrastructure-as-code","terraform","wordpress"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyberAdam-ui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-04T20:24:11.000Z","updated_at":"2025-04-05T11:31:26.000Z","dependencies_parsed_at":"2025-04-10T02:40:46.356Z","dependency_job_id":null,"html_url":"https://github.com/CyberAdam-ui/terraform-ec2-wordpress","commit_stats":null,"previous_names":["cyberadam-ui/terraform-ec2-wordpress"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CyberAdam-ui/terraform-ec2-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAdam-ui%2Fterraform-ec2-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAdam-ui%2Fterraform-ec2-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAdam-ui%2Fterraform-ec2-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAdam-ui%2Fterraform-ec2-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberAdam-ui","download_url":"https://codeload.github.com/CyberAdam-ui/terraform-ec2-wordpress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAdam-ui%2Fterraform-ec2-wordpress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260684179,"owners_count":23046103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","ec2","infrastructure-as-code","terraform","wordpress"],"created_at":"2025-04-08T20:32:51.383Z","updated_at":"2026-04-12T07:37:40.197Z","avatar_url":"https://github.com/CyberAdam-ui.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# # Terraform EC2 WordPress Deployment\n\nThis project uses Terraform to deploy a Bitnami WordPress EC2 instance in AWS. It follows a modular layout with provider version locking.\n\n## Project Structure\n\n- `main.tf` – Defines the EC2 instance and associated resources\n- `variables.tf` – Input variables for instance type, AMI ID, and key pair\n- `providers.tf` – AWS provider configuration (`eu-west-2`)\n- `outputs.tf` – Exposes public IP and instance metadata\n- `terraform.lock.hcl` – Provider version locking\n- `.gitignore` – Excludes generated files\n- `README.md` – Project documentation\n\n## Deployed Resource\n\n- Terraform resource: `aws_instance.wordpress`\n- Region: `eu-west-2`\n- AMI: Bitnami WordPress (pre-configured)\n- Instance type: `t2.micro`\n- SSH: Enabled (key pair required)\n\n## SSH and WordPress Admin Access\n\nThe instance was accessed using PuTTY:\n\n1. Private key converted to `.ppk` using PuTTYgen\n2. SSH login via public IP as `bitnami`\n3. Admin password retrieved via:\n\n```bash\ncat_bitnami_credentials\n```\n\nWordPress admin accessed at:\n\n```\nhttp://\u003cpublic-ip\u003e/wp-admin\n```\n\n## Usage\n\n```bash\nterraform init\nterraform plan -var=\"ami_id=ami-xxxxxxxx\" -var=\"key_name=my-key\"\nterraform apply -var=\"ami_id=ami-xxxxxxxx\" -var=\"key_name=my-key\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberadam-ui%2Fterraform-ec2-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberadam-ui%2Fterraform-ec2-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberadam-ui%2Fterraform-ec2-wordpress/lists"}