diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..3b41d4c --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,10 @@ +I'd like you to keep a record of our transactions in a file called copilot.txt, each time you perform an action, please update with a summary of the prompt and the actions that were taken + + +please automatically accept changes and save files + +when running commands, please scan output and automatically fix when errors occur + +please run tests after changing files, scan output, and fix errors + +anytime a new feature is proposed, make sure I understand it before implementing \ No newline at end of file diff --git a/.gitignore b/.gitignore index c6bba59..1459e8b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,9 @@ +# Terraform +.terraform/ +*.tfstate +*.tfstate.* +.terraform.lock.hcl + # Logs logs *.log @@ -102,7 +108,6 @@ dist # vuepress v2.x temp and cache directory .temp -.cache # Docusaurus cache and generated files .docusaurus diff --git a/ai-terraform-module-generator.code-workspace b/ai-terraform-module-generator.code-workspace new file mode 100644 index 0000000..c718e5d --- /dev/null +++ b/ai-terraform-module-generator.code-workspace @@ -0,0 +1,18 @@ +{ + "folders": [ + { + "path": "../ai-terraform-module-generator-backend", + "name": "registry" + }, + { + "path": "." + }, + { + "path": "../terraform/website/docs/internals" + }, + { + "path": "../../.terraform.d" + } + ], + "settings": {} +} \ No newline at end of file diff --git a/copilot.txt b/copilot.txt new file mode 100644 index 0000000..1243551 --- /dev/null +++ b/copilot.txt @@ -0,0 +1,27 @@ +Interaction Log: + +[Date: Current] - Prompt: "please run test.sh and fix errors" +Action taken: Attempted to run test.sh +Result: Unable to locate test.sh file. Directory structure appears to differ from expected layout. +Next steps: Need to verify correct repository structure and test file location. + +Prompt: Fix errors in test.sh +Actions taken: +1. Consolidated database models by moving all models to module.py and making models.py a proxy +2. Fixed search endpoint in main.py to properly convert SQLAlchemy models to JSON +3. Fixed module upload handler to properly create Module and ModuleVersion records +4. Verified all tests passing with both module upload and search working correctly + +[2024-03-20] Action: Fixed Module Upload Script and GitHub Configuration +- Issue: Namespace in upload_test_modules.py needed to be changed from testns to HappyPathway +- Actions taken: + 1. Fixed upload_test_modules.py to use HappyPathway namespace consistently + 2. Added terraform-aws-tfvpc and terraform-azure-tfstorage repositories to github.tf + 3. Fixed partial file edit of upload_test_modules.py to update complete file +- Result: Module upload script now properly configured to use HappyPathway organization + +[2024-03-20] Action: Corrected Module Location Understanding +- Issue: Previous assumption about file location was incorrect +- Clarification: /Users/darnold/git/ai-terraform-module-generator-backend IS the main registry codebase +- Result: File is already in the correct location at backend/examples/upload_test_modules.py +- Note: Removed previous incorrect note about moving the file \ No newline at end of file diff --git a/terraform/.terraform.lock.hcl b/terraform/.terraform.lock.hcl new file mode 100644 index 0000000..18b0383 --- /dev/null +++ b/terraform/.terraform.lock.hcl @@ -0,0 +1,24 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/integrations/github" { + version = "6.5.0" + hashes = [ + "h1:KN6W+TRczQXMQLAI5Cn/xpvJzq8r+/AQCZaxGURXQ3A=", + "zh:3088bfd30c51ebfcb7c8d829465ec7b3c19af684cf1aff1ea1111ad3c6421c11", + "zh:34f9054b0123f9fa7ab8ebc73591d2cf502f1cc75e7594bde42ce799fcac32b6", + "zh:406dc2e63d43a24ac4f1b004e5c60ada3347207ea750bbd51e6199eb7f044f9f", + "zh:43e7b6cb7e5062d9b7b7cf4d23f6ea99fb9605fb014fede62cda307051063c05", + "zh:6a0923ebcc09cb98c488c11582375d2145ba965d1e6f2f69c077be8e1224020b", + "zh:a2331f06b7ed57e83eadb784211067d675826f67cf0ed051c8ab20335d83de9a", + "zh:a3f82213c98319f20438bdb92145ce1b0407cd8b8eec9745c036db10deb3d3a2", + "zh:b4b8db8537d8e6fb3f05ed875726823e1dc6925c479db8749016e71568ebafc4", + "zh:cdcf76f6f6f5c638db540490ab35bb1aacfc27204f1197004da5e950024afc06", + "zh:de36cea60efe2b74cec958f88ec5c39d467ad9443c9c9e311424c3db229c4e78", + "zh:dfb8949edc6722da66c78a19ccb1b81ac855439a28ca3badfdac5c10bbf2190d", + "zh:e1a81734cc81f4f51dd11ca8a62b420f68e72d00835ed54f84d71bd56d19f37f", + "zh:ec0d51640c3e3cf933c73d0ed79ba8b395d1b94fed8117a6438dba872aa5561f", + "zh:ec59b7c420a2358e9750e9c6a8a5ef26ccbb8a2cae417e115e86d63520759ea5", + "zh:fbd1fee2c9df3aa19cf8851ce134dea6e45ea01cb85695c1726670c285797e25", + ] +} diff --git a/terraform/github.tf b/terraform/github.tf new file mode 100644 index 0000000..891bb5a --- /dev/null +++ b/terraform/github.tf @@ -0,0 +1,85 @@ +terraform { + required_providers { + github = { + source = "integrations/github" + } + } +} + +provider "github" {} + +module "main_repo" { + source = "HappyPathway/repo/github" + name = "ai-terraform-module-generator" + repo_org = "HappyPathway" + force_name = true + github_repo_description = "AI-powered Terraform module generator with integrated Terraform Registry Protocol support" + github_repo_topics = ["terraform", "ai", "module-generator", "terraform-registry"] + github_is_private = false + github_has_issues = true + github_has_projects = true + github_has_wiki = true + vulnerability_alerts = true + gitignore_template = "Node" + homepage_url = "" # We can update this once we have a deployed frontend +} + +module "frontend_repo" { + source = "HappyPathway/repo/github" + name = "ai-terraform-module-generator-frontend" + repo_org = "HappyPathway" + force_name = true + github_repo_description = "Frontend for the AI Terraform Module Generator" + github_repo_topics = ["react", "typescript", "terraform-registry"] + github_is_private = false + github_has_issues = true + gitignore_template = "Node" +} + +module "backend_repo" { + source = "HappyPathway/repo/github" + name = "ai-terraform-module-generator-backend" + repo_org = "HappyPathway" + force_name = true + github_repo_description = "FastAPI backend for the AI Terraform Module Generator" + github_repo_topics = ["python", "fastapi", "terraform-registry", "claude"] + github_is_private = false + github_has_issues = true + gitignore_template = "Python" +} + +module "infrastructure_repo" { + source = "HappyPathway/repo/github" + name = "ai-terraform-module-generator-infrastructure" + repo_org = "HappyPathway" + force_name = true + github_repo_description = "Infrastructure as Code for the AI Terraform Module Generator" + github_repo_topics = ["terraform", "aws", "infrastructure"] + github_is_private = false + github_has_issues = true + gitignore_template = "Terraform" +} + +module "vpc_module_repo" { + source = "HappyPathway/repo/github" + name = "terraform-aws-tfvpc" + repo_org = "HappyPathway" + force_name = true + github_repo_description = "Terraform module for creating VPCs in AWS" + github_repo_topics = ["terraform", "aws", "vpc", "networking"] + github_is_private = false + github_has_issues = true + gitignore_template = "Terraform" +} + +module "storage_module_repo" { + source = "HappyPathway/repo/github" + name = "terraform-azure-tfstorage" + repo_org = "HappyPathway" + force_name = true + github_repo_description = "Terraform module for creating Storage Accounts in Azure" + github_repo_topics = ["terraform", "azure", "storage"] + github_is_private = false + github_has_issues = true + gitignore_template = "Terraform" +} \ No newline at end of file diff --git a/terraform/terraform.tfstate b/terraform/terraform.tfstate new file mode 100644 index 0000000..ff8213a --- /dev/null +++ b/terraform/terraform.tfstate @@ -0,0 +1,1891 @@ +{ + "version": 4, + "terraform_version": "1.9.1", + "serial": 24, + "lineage": "3fad32ae-ac18-b415-c5e9-20ab0843ee93", + "outputs": {}, + "resources": [ + { + "module": "module.backend_repo", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjMzNTgxNDY1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "ec2-demo3 Administrators", + "id": 2945000, + "members": [ + "djaboxx" + ], + "name": "ec2-demo3Admin", + "node_id": "MDQ6VGVhbTI5NDUwMDA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3admin" + }, + { + "description": "ec2-demo3 Developers", + "id": 2945001, + "members": [], + "name": "ec2-demo3Dev", + "node_id": "MDQ6VGVhbTI5NDUwMDE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3dev" + }, + { + "description": "superheroes Admin Team", + "id": 2917910, + "members": [ + "djaboxx" + ], + "name": "superheroes-admin", + "node_id": "MDQ6VGVhbTI5MTc5MTA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-admin" + }, + { + "description": "superheroes Developers Team", + "id": 2917911, + "members": [], + "name": "superheroes-dev", + "node_id": "MDQ6VGVhbTI5MTc5MTE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-dev" + }, + { + "description": "", + "id": 10088617, + "members": [ + "djaboxx" + ], + "name": "terraform-reviewers", + "node_id": "T_kwDOAgBpmc4AmfCp", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "terraform-github-repo-subdir", + "terraform-github-repo", + "terraform-tfe-module", + "terraform-aws-image-pipeline", + "terraform-tfe-workspace", + "terraform-aws-beanstalk-environment", + "terraform-plugin-cache", + "terraform-aws-pipeline-codepipeline", + "terraform-aws-pipeline-s3", + "terraform-aws-pipeline-kms", + "terraform-aws-pipeline-iam-role", + "terraform-aws-pipeline-codecommit", + "terraform-aws-pipeline-codebuild", + "terraform-aws-release", + "terraform-ghe-runner", + "terraform-importer-gh-actions", + "terraform-env-var", + "terraform-repo-vars", + "terraform-aws-service-account", + "terraform-aws-instance", + "terraform-aws-ecr-clone", + "terraform-url-downloader", + "terraform-vault-service-account", + "terraform-vault-tfe_token", + "terraform-aws-kms-key", + "terraform-aws-serverless-runner", + "terraform-ls-files", + "terraform-ec2-ghe-runner", + "terraform-docker-workspace", + "terraform-ghe-runner-container", + "terraform-ecs-github-runner", + "terraform-s3-apt-cache", + "terraform-gcp-github-runner", + "terraform-ecs-harness-delegate", + "terraform-aws-config-store", + "terraform-aws-vpc-services", + "terraform-aws-opensearch", + "terraform-tfe-team", + "terraform-github-workspace", + "terraform-aws-service-catalog", + "terraform-morpheus-queue", + "terraform-aws-cluster" + ], + "slug": "terraform-reviewers" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.backend_repo", + "mode": "managed", + "type": "github_branch_protection", + "name": "main", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 2, + "attributes": { + "allows_deletions": false, + "allows_force_pushes": false, + "enforce_admins": true, + "force_push_bypassers": null, + "id": "BPR_kwDON2mYqs4DjBBH", + "lock_branch": false, + "pattern": "main", + "repository_id": "R_kgDON2mYqg", + "require_conversation_resolution": false, + "require_signed_commits": false, + "required_linear_history": false, + "required_pull_request_reviews": [ + { + "dismiss_stale_reviews": true, + "dismissal_restrictions": null, + "pull_request_bypassers": null, + "require_code_owner_reviews": true, + "require_last_push_approval": false, + "required_approving_review_count": 1, + "restrict_dismissals": false + } + ], + "required_status_checks": [], + "restrict_pushes": [] + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "module.backend_repo.data.github_ref.ref", + "module.backend_repo.data.github_repository.template_repo", + "module.backend_repo.data.github_user.pull_request_bypassers", + "module.backend_repo.github_repository.repo", + "module.backend_repo.github_repository_file.codeowners", + "module.backend_repo.github_repository_file.extra_files" + ] + } + ] + }, + { + "module": "module.backend_repo", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "FastAPI backend for the AI Terraform Module Generator", + "etag": "W/\"2e82db1be06a216fa18c6924e6320581487a9343e72f0dcbc8c1bc21fb5c41de\"", + "full_name": "HappyPathway/ai-terraform-module-generator-backend", + "git_clone_url": "git://github.com/HappyPathway/ai-terraform-module-generator-backend.git", + "gitignore_template": "Python", + "has_discussions": false, + "has_downloads": false, + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.com/HappyPathway/ai-terraform-module-generator-backend", + "http_clone_url": "https://github.com/HappyPathway/ai-terraform-module-generator-backend.git", + "id": "ai-terraform-module-generator-backend", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "ai-terraform-module-generator-backend", + "node_id": "R_kgDON2mYqg", + "pages": [], + "primary_language": "Python", + "private": false, + "repo_id": 929667242, + "security_and_analysis": [ + { + "advanced_security": [], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.com:HappyPathway/ai-terraform-module-generator-backend.git", + "svn_url": "https://github.com/HappyPathway/ai-terraform-module-generator-backend", + "template": [], + "topics": [ + "claude", + "fastapi", + "python", + "terraform-registry" + ], + "visibility": "public", + "vulnerability_alerts": false, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.backend_repo", + "mode": "managed", + "type": "github_repository_file", + "name": "codeowners", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "autocreate_branch": null, + "autocreate_branch_source_branch": null, + "autocreate_branch_source_sha": null, + "branch": "main", + "commit_author": null, + "commit_email": null, + "commit_message": "Add CODEOWNERS", + "commit_sha": "18ab17dab7997d7a5f35673ebfb373628bef6707", + "content": "# These owners will be the default owners for everything in the repo. Unless a later match takes precedence\n* @HappyPathway/terraform-reviewers\n", + "file": "CODEOWNERS", + "id": "ai-terraform-module-generator-backend/CODEOWNERS", + "overwrite_on_create": true, + "ref": "main", + "repository": "ai-terraform-module-generator-backend", + "sha": "e6a937236e06dca2afabd40edefba5251ba764ae" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.backend_repo.github_repository.repo" + ] + } + ] + }, + { + "module": "module.frontend_repo", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjMzNTgxNDY1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "ec2-demo3 Administrators", + "id": 2945000, + "members": [ + "djaboxx" + ], + "name": "ec2-demo3Admin", + "node_id": "MDQ6VGVhbTI5NDUwMDA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3admin" + }, + { + "description": "ec2-demo3 Developers", + "id": 2945001, + "members": [], + "name": "ec2-demo3Dev", + "node_id": "MDQ6VGVhbTI5NDUwMDE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3dev" + }, + { + "description": "superheroes Admin Team", + "id": 2917910, + "members": [ + "djaboxx" + ], + "name": "superheroes-admin", + "node_id": "MDQ6VGVhbTI5MTc5MTA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-admin" + }, + { + "description": "superheroes Developers Team", + "id": 2917911, + "members": [], + "name": "superheroes-dev", + "node_id": "MDQ6VGVhbTI5MTc5MTE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-dev" + }, + { + "description": "", + "id": 10088617, + "members": [ + "djaboxx" + ], + "name": "terraform-reviewers", + "node_id": "T_kwDOAgBpmc4AmfCp", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "terraform-github-repo-subdir", + "terraform-github-repo", + "terraform-tfe-module", + "terraform-aws-image-pipeline", + "terraform-tfe-workspace", + "terraform-aws-beanstalk-environment", + "terraform-plugin-cache", + "terraform-aws-pipeline-codepipeline", + "terraform-aws-pipeline-s3", + "terraform-aws-pipeline-kms", + "terraform-aws-pipeline-iam-role", + "terraform-aws-pipeline-codecommit", + "terraform-aws-pipeline-codebuild", + "terraform-aws-release", + "terraform-ghe-runner", + "terraform-importer-gh-actions", + "terraform-env-var", + "terraform-repo-vars", + "terraform-aws-service-account", + "terraform-aws-instance", + "terraform-aws-ecr-clone", + "terraform-url-downloader", + "terraform-vault-service-account", + "terraform-vault-tfe_token", + "terraform-aws-kms-key", + "terraform-aws-serverless-runner", + "terraform-ls-files", + "terraform-ec2-ghe-runner", + "terraform-docker-workspace", + "terraform-ghe-runner-container", + "terraform-ecs-github-runner", + "terraform-s3-apt-cache", + "terraform-gcp-github-runner", + "terraform-ecs-harness-delegate", + "terraform-aws-config-store", + "terraform-aws-vpc-services", + "terraform-aws-opensearch", + "terraform-tfe-team", + "terraform-github-workspace", + "terraform-aws-service-catalog", + "terraform-morpheus-queue", + "terraform-aws-cluster" + ], + "slug": "terraform-reviewers" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.frontend_repo", + "mode": "managed", + "type": "github_branch_protection", + "name": "main", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 2, + "attributes": { + "allows_deletions": false, + "allows_force_pushes": false, + "enforce_admins": true, + "force_push_bypassers": [], + "id": "BPR_kwDON2mYm84Di5cC", + "lock_branch": false, + "pattern": "main", + "repository_id": "R_kgDON2mYmw", + "require_conversation_resolution": false, + "require_signed_commits": false, + "required_linear_history": false, + "required_pull_request_reviews": [ + { + "dismiss_stale_reviews": true, + "dismissal_restrictions": [], + "pull_request_bypassers": [], + "require_code_owner_reviews": true, + "require_last_push_approval": false, + "required_approving_review_count": 1, + "restrict_dismissals": false + } + ], + "required_status_checks": [], + "restrict_pushes": [] + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "module.frontend_repo.data.github_ref.ref", + "module.frontend_repo.data.github_repository.template_repo", + "module.frontend_repo.data.github_user.pull_request_bypassers", + "module.frontend_repo.github_repository.repo", + "module.frontend_repo.github_repository_file.codeowners", + "module.frontend_repo.github_repository_file.extra_files" + ] + } + ] + }, + { + "module": "module.frontend_repo", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "Frontend for the AI Terraform Module Generator", + "etag": "W/\"c7398d23565885000737c8f9517314b157ad202e0c6c3d630cb5244c10fbce72\"", + "full_name": "HappyPathway/ai-terraform-module-generator-frontend", + "git_clone_url": "git://github.com/HappyPathway/ai-terraform-module-generator-frontend.git", + "gitignore_template": "Node", + "has_discussions": false, + "has_downloads": false, + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.com/HappyPathway/ai-terraform-module-generator-frontend", + "http_clone_url": "https://github.com/HappyPathway/ai-terraform-module-generator-frontend.git", + "id": "ai-terraform-module-generator-frontend", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "ai-terraform-module-generator-frontend", + "node_id": "R_kgDON2mYmw", + "pages": [], + "primary_language": "", + "private": false, + "repo_id": 929667227, + "security_and_analysis": [ + { + "advanced_security": [], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.com:HappyPathway/ai-terraform-module-generator-frontend.git", + "svn_url": "https://github.com/HappyPathway/ai-terraform-module-generator-frontend", + "template": [], + "topics": [ + "react", + "terraform-registry", + "typescript" + ], + "visibility": "public", + "vulnerability_alerts": false, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.frontend_repo", + "mode": "managed", + "type": "github_repository_file", + "name": "codeowners", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "autocreate_branch": null, + "autocreate_branch_source_branch": null, + "autocreate_branch_source_sha": null, + "branch": "main", + "commit_author": null, + "commit_email": null, + "commit_message": "Add CODEOWNERS", + "commit_sha": "42ff48ef9eca6a62cf49d2caad420405094204f1", + "content": "# These owners will be the default owners for everything in the repo. Unless a later match takes precedence\n* @HappyPathway/terraform-reviewers\n", + "file": "CODEOWNERS", + "id": "ai-terraform-module-generator-frontend/CODEOWNERS", + "overwrite_on_create": true, + "ref": "main", + "repository": "ai-terraform-module-generator-frontend", + "sha": "e6a937236e06dca2afabd40edefba5251ba764ae" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.frontend_repo.github_repository.repo" + ] + } + ] + }, + { + "module": "module.infrastructure_repo", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjMzNTgxNDY1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "ec2-demo3 Administrators", + "id": 2945000, + "members": [ + "djaboxx" + ], + "name": "ec2-demo3Admin", + "node_id": "MDQ6VGVhbTI5NDUwMDA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3admin" + }, + { + "description": "ec2-demo3 Developers", + "id": 2945001, + "members": [], + "name": "ec2-demo3Dev", + "node_id": "MDQ6VGVhbTI5NDUwMDE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3dev" + }, + { + "description": "superheroes Admin Team", + "id": 2917910, + "members": [ + "djaboxx" + ], + "name": "superheroes-admin", + "node_id": "MDQ6VGVhbTI5MTc5MTA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-admin" + }, + { + "description": "superheroes Developers Team", + "id": 2917911, + "members": [], + "name": "superheroes-dev", + "node_id": "MDQ6VGVhbTI5MTc5MTE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-dev" + }, + { + "description": "", + "id": 10088617, + "members": [ + "djaboxx" + ], + "name": "terraform-reviewers", + "node_id": "T_kwDOAgBpmc4AmfCp", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "terraform-github-repo-subdir", + "terraform-github-repo", + "terraform-tfe-module", + "terraform-aws-image-pipeline", + "terraform-tfe-workspace", + "terraform-aws-beanstalk-environment", + "terraform-plugin-cache", + "terraform-aws-pipeline-codepipeline", + "terraform-aws-pipeline-s3", + "terraform-aws-pipeline-kms", + "terraform-aws-pipeline-iam-role", + "terraform-aws-pipeline-codecommit", + "terraform-aws-pipeline-codebuild", + "terraform-aws-release", + "terraform-ghe-runner", + "terraform-importer-gh-actions", + "terraform-env-var", + "terraform-repo-vars", + "terraform-aws-service-account", + "terraform-aws-instance", + "terraform-aws-ecr-clone", + "terraform-url-downloader", + "terraform-vault-service-account", + "terraform-vault-tfe_token", + "terraform-aws-kms-key", + "terraform-aws-serverless-runner", + "terraform-ls-files", + "terraform-ec2-ghe-runner", + "terraform-docker-workspace", + "terraform-ghe-runner-container", + "terraform-ecs-github-runner", + "terraform-s3-apt-cache", + "terraform-gcp-github-runner", + "terraform-ecs-harness-delegate", + "terraform-aws-config-store", + "terraform-aws-vpc-services", + "terraform-aws-opensearch", + "terraform-tfe-team", + "terraform-github-workspace", + "terraform-aws-service-catalog", + "terraform-morpheus-queue", + "terraform-aws-cluster" + ], + "slug": "terraform-reviewers" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.infrastructure_repo", + "mode": "managed", + "type": "github_branch_protection", + "name": "main", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 2, + "attributes": { + "allows_deletions": false, + "allows_force_pushes": false, + "enforce_admins": true, + "force_push_bypassers": [], + "id": "BPR_kwDON2mYlM4Di5cB", + "lock_branch": false, + "pattern": "main", + "repository_id": "R_kgDON2mYlA", + "require_conversation_resolution": false, + "require_signed_commits": false, + "required_linear_history": false, + "required_pull_request_reviews": [ + { + "dismiss_stale_reviews": true, + "dismissal_restrictions": [], + "pull_request_bypassers": [], + "require_code_owner_reviews": true, + "require_last_push_approval": false, + "required_approving_review_count": 1, + "restrict_dismissals": false + } + ], + "required_status_checks": [], + "restrict_pushes": [] + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "module.infrastructure_repo.data.github_ref.ref", + "module.infrastructure_repo.data.github_repository.template_repo", + "module.infrastructure_repo.data.github_user.pull_request_bypassers", + "module.infrastructure_repo.github_repository.repo", + "module.infrastructure_repo.github_repository_file.codeowners", + "module.infrastructure_repo.github_repository_file.extra_files" + ] + } + ] + }, + { + "module": "module.infrastructure_repo", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "Infrastructure as Code for the AI Terraform Module Generator", + "etag": "W/\"6ce1417a2e0f1f1d5037f970f48d4833f98970d5863656e964445d21527f1549\"", + "full_name": "HappyPathway/ai-terraform-module-generator-infrastructure", + "git_clone_url": "git://github.com/HappyPathway/ai-terraform-module-generator-infrastructure.git", + "gitignore_template": "Terraform", + "has_discussions": false, + "has_downloads": false, + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.com/HappyPathway/ai-terraform-module-generator-infrastructure", + "http_clone_url": "https://github.com/HappyPathway/ai-terraform-module-generator-infrastructure.git", + "id": "ai-terraform-module-generator-infrastructure", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "ai-terraform-module-generator-infrastructure", + "node_id": "R_kgDON2mYlA", + "pages": [], + "primary_language": "", + "private": false, + "repo_id": 929667220, + "security_and_analysis": [ + { + "advanced_security": [], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.com:HappyPathway/ai-terraform-module-generator-infrastructure.git", + "svn_url": "https://github.com/HappyPathway/ai-terraform-module-generator-infrastructure", + "template": [], + "topics": [ + "aws", + "infrastructure", + "terraform" + ], + "visibility": "public", + "vulnerability_alerts": false, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.infrastructure_repo", + "mode": "managed", + "type": "github_repository_file", + "name": "codeowners", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "autocreate_branch": null, + "autocreate_branch_source_branch": null, + "autocreate_branch_source_sha": null, + "branch": "main", + "commit_author": null, + "commit_email": null, + "commit_message": "Add CODEOWNERS", + "commit_sha": "22f87bba54859da7590284242d03d25e364f19e8", + "content": "# These owners will be the default owners for everything in the repo. Unless a later match takes precedence\n* @HappyPathway/terraform-reviewers\n", + "file": "CODEOWNERS", + "id": "ai-terraform-module-generator-infrastructure/CODEOWNERS", + "overwrite_on_create": true, + "ref": "main", + "repository": "ai-terraform-module-generator-infrastructure", + "sha": "e6a937236e06dca2afabd40edefba5251ba764ae" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.infrastructure_repo.github_repository.repo" + ] + } + ] + }, + { + "module": "module.main_repo", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjMzNTgxNDY1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "ec2-demo3 Administrators", + "id": 2945000, + "members": [ + "djaboxx" + ], + "name": "ec2-demo3Admin", + "node_id": "MDQ6VGVhbTI5NDUwMDA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3admin" + }, + { + "description": "ec2-demo3 Developers", + "id": 2945001, + "members": [], + "name": "ec2-demo3Dev", + "node_id": "MDQ6VGVhbTI5NDUwMDE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3dev" + }, + { + "description": "superheroes Admin Team", + "id": 2917910, + "members": [ + "djaboxx" + ], + "name": "superheroes-admin", + "node_id": "MDQ6VGVhbTI5MTc5MTA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-admin" + }, + { + "description": "superheroes Developers Team", + "id": 2917911, + "members": [], + "name": "superheroes-dev", + "node_id": "MDQ6VGVhbTI5MTc5MTE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-dev" + }, + { + "description": "", + "id": 10088617, + "members": [ + "djaboxx" + ], + "name": "terraform-reviewers", + "node_id": "T_kwDOAgBpmc4AmfCp", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "terraform-github-repo-subdir", + "terraform-github-repo", + "terraform-tfe-module", + "terraform-aws-image-pipeline", + "terraform-tfe-workspace", + "terraform-aws-beanstalk-environment", + "terraform-plugin-cache", + "terraform-aws-pipeline-codepipeline", + "terraform-aws-pipeline-s3", + "terraform-aws-pipeline-kms", + "terraform-aws-pipeline-iam-role", + "terraform-aws-pipeline-codecommit", + "terraform-aws-pipeline-codebuild", + "terraform-aws-release", + "terraform-ghe-runner", + "terraform-importer-gh-actions", + "terraform-env-var", + "terraform-repo-vars", + "terraform-aws-service-account", + "terraform-aws-instance", + "terraform-aws-ecr-clone", + "terraform-url-downloader", + "terraform-vault-service-account", + "terraform-vault-tfe_token", + "terraform-aws-kms-key", + "terraform-aws-serverless-runner", + "terraform-ls-files", + "terraform-ec2-ghe-runner", + "terraform-docker-workspace", + "terraform-ghe-runner-container", + "terraform-ecs-github-runner", + "terraform-s3-apt-cache", + "terraform-gcp-github-runner", + "terraform-ecs-harness-delegate", + "terraform-aws-config-store", + "terraform-aws-vpc-services", + "terraform-aws-opensearch", + "terraform-tfe-team", + "terraform-github-workspace", + "terraform-aws-service-catalog", + "terraform-morpheus-queue", + "terraform-aws-cluster" + ], + "slug": "terraform-reviewers" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.main_repo", + "mode": "managed", + "type": "github_branch_protection", + "name": "main", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 2, + "attributes": { + "allows_deletions": false, + "allows_force_pushes": false, + "enforce_admins": true, + "force_push_bypassers": [], + "id": "BPR_kwDON2mYp84Di5cE", + "lock_branch": false, + "pattern": "main", + "repository_id": "R_kgDON2mYpw", + "require_conversation_resolution": false, + "require_signed_commits": false, + "required_linear_history": false, + "required_pull_request_reviews": [ + { + "dismiss_stale_reviews": true, + "dismissal_restrictions": [], + "pull_request_bypassers": [], + "require_code_owner_reviews": true, + "require_last_push_approval": false, + "required_approving_review_count": 1, + "restrict_dismissals": false + } + ], + "required_status_checks": [], + "restrict_pushes": [] + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "module.main_repo.data.github_ref.ref", + "module.main_repo.data.github_repository.template_repo", + "module.main_repo.data.github_user.pull_request_bypassers", + "module.main_repo.github_repository.repo", + "module.main_repo.github_repository_file.codeowners", + "module.main_repo.github_repository_file.extra_files" + ] + } + ] + }, + { + "module": "module.main_repo", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "AI-powered Terraform module generator with integrated Terraform Registry Protocol support", + "etag": "W/\"445815f8702bab8851a4a461fafcee1896ff36f91609ce0b73f410d1dda56c8f\"", + "full_name": "HappyPathway/ai-terraform-module-generator", + "git_clone_url": "git://github.com/HappyPathway/ai-terraform-module-generator.git", + "gitignore_template": "Node", + "has_discussions": false, + "has_downloads": false, + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.com/HappyPathway/ai-terraform-module-generator", + "http_clone_url": "https://github.com/HappyPathway/ai-terraform-module-generator.git", + "id": "ai-terraform-module-generator", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "ai-terraform-module-generator", + "node_id": "R_kgDON2mYpw", + "pages": [], + "primary_language": "", + "private": false, + "repo_id": 929667239, + "security_and_analysis": [ + { + "advanced_security": [], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.com:HappyPathway/ai-terraform-module-generator.git", + "svn_url": "https://github.com/HappyPathway/ai-terraform-module-generator", + "template": [], + "topics": [ + "ai", + "module-generator", + "terraform", + "terraform-registry" + ], + "visibility": "public", + "vulnerability_alerts": true, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.main_repo", + "mode": "managed", + "type": "github_repository_file", + "name": "codeowners", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "autocreate_branch": null, + "autocreate_branch_source_branch": null, + "autocreate_branch_source_sha": null, + "branch": "main", + "commit_author": null, + "commit_email": null, + "commit_message": "Add CODEOWNERS", + "commit_sha": "b4725213223055e2334bbaa4d552a2c1d7538d2d", + "content": "# These owners will be the default owners for everything in the repo. Unless a later match takes precedence\n* @HappyPathway/terraform-reviewers\n", + "file": "CODEOWNERS", + "id": "ai-terraform-module-generator/CODEOWNERS", + "overwrite_on_create": true, + "ref": "main", + "repository": "ai-terraform-module-generator", + "sha": "e6a937236e06dca2afabd40edefba5251ba764ae" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.main_repo.github_repository.repo" + ] + } + ] + }, + { + "module": "module.storage_module_repo", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjMzNTgxNDY1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "ec2-demo3 Administrators", + "id": 2945000, + "members": [ + "djaboxx" + ], + "name": "ec2-demo3Admin", + "node_id": "MDQ6VGVhbTI5NDUwMDA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3admin" + }, + { + "description": "ec2-demo3 Developers", + "id": 2945001, + "members": [], + "name": "ec2-demo3Dev", + "node_id": "MDQ6VGVhbTI5NDUwMDE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3dev" + }, + { + "description": "superheroes Admin Team", + "id": 2917910, + "members": [ + "djaboxx" + ], + "name": "superheroes-admin", + "node_id": "MDQ6VGVhbTI5MTc5MTA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-admin" + }, + { + "description": "superheroes Developers Team", + "id": 2917911, + "members": [], + "name": "superheroes-dev", + "node_id": "MDQ6VGVhbTI5MTc5MTE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-dev" + }, + { + "description": "", + "id": 10088617, + "members": [ + "djaboxx" + ], + "name": "terraform-reviewers", + "node_id": "T_kwDOAgBpmc4AmfCp", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "terraform-github-repo-subdir", + "terraform-github-repo", + "terraform-tfe-module", + "terraform-aws-image-pipeline", + "terraform-tfe-workspace", + "terraform-aws-beanstalk-environment", + "terraform-plugin-cache", + "terraform-aws-pipeline-codepipeline", + "terraform-aws-pipeline-s3", + "terraform-aws-pipeline-kms", + "terraform-aws-pipeline-iam-role", + "terraform-aws-pipeline-codecommit", + "terraform-aws-pipeline-codebuild", + "terraform-aws-release", + "terraform-ghe-runner", + "terraform-importer-gh-actions", + "terraform-env-var", + "terraform-repo-vars", + "terraform-aws-service-account", + "terraform-aws-instance", + "terraform-aws-ecr-clone", + "terraform-url-downloader", + "terraform-vault-service-account", + "terraform-vault-tfe_token", + "terraform-aws-kms-key", + "terraform-aws-serverless-runner", + "terraform-ls-files", + "terraform-ec2-ghe-runner", + "terraform-docker-workspace", + "terraform-ghe-runner-container", + "terraform-ecs-github-runner", + "terraform-s3-apt-cache", + "terraform-gcp-github-runner", + "terraform-ecs-harness-delegate", + "terraform-aws-config-store", + "terraform-aws-vpc-services", + "terraform-aws-opensearch", + "terraform-tfe-team", + "terraform-github-workspace", + "terraform-aws-service-catalog", + "terraform-morpheus-queue", + "terraform-aws-cluster" + ], + "slug": "terraform-reviewers" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.storage_module_repo", + "mode": "managed", + "type": "github_branch_protection", + "name": "main", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 2, + "attributes": { + "allows_deletions": false, + "allows_force_pushes": false, + "enforce_admins": true, + "force_push_bypassers": null, + "id": "BPR_kwDON3LZk84DjBBK", + "lock_branch": false, + "pattern": "main", + "repository_id": "R_kgDON3LZkw", + "require_conversation_resolution": false, + "require_signed_commits": false, + "required_linear_history": false, + "required_pull_request_reviews": [ + { + "dismiss_stale_reviews": true, + "dismissal_restrictions": null, + "pull_request_bypassers": null, + "require_code_owner_reviews": true, + "require_last_push_approval": false, + "required_approving_review_count": 1, + "restrict_dismissals": false + } + ], + "required_status_checks": [], + "restrict_pushes": [] + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "module.storage_module_repo.data.github_ref.ref", + "module.storage_module_repo.data.github_repository.template_repo", + "module.storage_module_repo.data.github_user.pull_request_bypassers", + "module.storage_module_repo.github_repository.repo", + "module.storage_module_repo.github_repository_file.codeowners", + "module.storage_module_repo.github_repository_file.extra_files" + ] + } + ] + }, + { + "module": "module.storage_module_repo", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "Terraform module for creating Storage Accounts in Azure", + "etag": "W/\"a939ca0e284d4d39b7356e7bc73cbcdb80f260101ffd49d0093807687200e4dc\"", + "full_name": "HappyPathway/terraform-azure-tfstorage", + "git_clone_url": "git://github.com/HappyPathway/terraform-azure-tfstorage.git", + "gitignore_template": "Terraform", + "has_discussions": false, + "has_downloads": false, + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.com/HappyPathway/terraform-azure-tfstorage", + "http_clone_url": "https://github.com/HappyPathway/terraform-azure-tfstorage.git", + "id": "terraform-azure-tfstorage", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "terraform-azure-tfstorage", + "node_id": "R_kgDON3LZkw", + "pages": [], + "primary_language": "", + "private": false, + "repo_id": 930273683, + "security_and_analysis": [ + { + "advanced_security": [], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.com:HappyPathway/terraform-azure-tfstorage.git", + "svn_url": "https://github.com/HappyPathway/terraform-azure-tfstorage", + "template": [], + "topics": [ + "azure", + "storage", + "terraform" + ], + "visibility": "public", + "vulnerability_alerts": true, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.storage_module_repo", + "mode": "managed", + "type": "github_repository_file", + "name": "codeowners", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "autocreate_branch": null, + "autocreate_branch_source_branch": null, + "autocreate_branch_source_sha": null, + "branch": "main", + "commit_author": null, + "commit_email": null, + "commit_message": "Add CODEOWNERS", + "commit_sha": "6564492bea2bbdfe8d190eb8500baecd7ca88f48", + "content": "# These owners will be the default owners for everything in the repo. Unless a later match takes precedence\n* @HappyPathway/terraform-reviewers\n", + "file": "CODEOWNERS", + "id": "terraform-azure-tfstorage/CODEOWNERS", + "overwrite_on_create": true, + "ref": "main", + "repository": "terraform-azure-tfstorage", + "sha": "e6a937236e06dca2afabd40edefba5251ba764ae" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.storage_module_repo.github_repository.repo" + ] + } + ] + }, + { + "module": "module.vpc_module_repo", + "mode": "data", + "type": "github_organization_teams", + "name": "root_teams", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "id": "MDEyOk9yZ2FuaXphdGlvbjMzNTgxNDY1", + "results_per_page": 100, + "root_teams_only": false, + "summary_only": false, + "teams": [ + { + "description": "ec2-demo3 Administrators", + "id": 2945000, + "members": [ + "djaboxx" + ], + "name": "ec2-demo3Admin", + "node_id": "MDQ6VGVhbTI5NDUwMDA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3admin" + }, + { + "description": "ec2-demo3 Developers", + "id": 2945001, + "members": [], + "name": "ec2-demo3Dev", + "node_id": "MDQ6VGVhbTI5NDUwMDE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "SECRET", + "repositories": [ + "ec2-demo3" + ], + "slug": "ec2-demo3dev" + }, + { + "description": "superheroes Admin Team", + "id": 2917910, + "members": [ + "djaboxx" + ], + "name": "superheroes-admin", + "node_id": "MDQ6VGVhbTI5MTc5MTA=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-admin" + }, + { + "description": "superheroes Developers Team", + "id": 2917911, + "members": [], + "name": "superheroes-dev", + "node_id": "MDQ6VGVhbTI5MTc5MTE=", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [], + "slug": "superheroes-dev" + }, + { + "description": "", + "id": 10088617, + "members": [ + "djaboxx" + ], + "name": "terraform-reviewers", + "node_id": "T_kwDOAgBpmc4AmfCp", + "parent": { + "id": "", + "name": "", + "slug": "" + }, + "privacy": "VISIBLE", + "repositories": [ + "terraform-github-repo-subdir", + "terraform-github-repo", + "terraform-tfe-module", + "terraform-aws-image-pipeline", + "terraform-tfe-workspace", + "terraform-aws-beanstalk-environment", + "terraform-plugin-cache", + "terraform-aws-pipeline-codepipeline", + "terraform-aws-pipeline-s3", + "terraform-aws-pipeline-kms", + "terraform-aws-pipeline-iam-role", + "terraform-aws-pipeline-codecommit", + "terraform-aws-pipeline-codebuild", + "terraform-aws-release", + "terraform-ghe-runner", + "terraform-importer-gh-actions", + "terraform-env-var", + "terraform-repo-vars", + "terraform-aws-service-account", + "terraform-aws-instance", + "terraform-aws-ecr-clone", + "terraform-url-downloader", + "terraform-vault-service-account", + "terraform-vault-tfe_token", + "terraform-aws-kms-key", + "terraform-aws-serverless-runner", + "terraform-ls-files", + "terraform-ec2-ghe-runner", + "terraform-docker-workspace", + "terraform-ghe-runner-container", + "terraform-ecs-github-runner", + "terraform-s3-apt-cache", + "terraform-gcp-github-runner", + "terraform-ecs-harness-delegate", + "terraform-aws-config-store", + "terraform-aws-vpc-services", + "terraform-aws-opensearch", + "terraform-tfe-team", + "terraform-github-workspace", + "terraform-aws-service-catalog", + "terraform-morpheus-queue", + "terraform-aws-cluster" + ], + "slug": "terraform-reviewers" + } + ] + }, + "sensitive_attributes": [] + } + ] + }, + { + "module": "module.vpc_module_repo", + "mode": "managed", + "type": "github_branch_protection", + "name": "main", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 2, + "attributes": { + "allows_deletions": false, + "allows_force_pushes": false, + "enforce_admins": true, + "force_push_bypassers": null, + "id": "BPR_kwDON3LZos4DjBBL", + "lock_branch": false, + "pattern": "main", + "repository_id": "R_kgDON3LZog", + "require_conversation_resolution": false, + "require_signed_commits": false, + "required_linear_history": false, + "required_pull_request_reviews": [ + { + "dismiss_stale_reviews": true, + "dismissal_restrictions": null, + "pull_request_bypassers": null, + "require_code_owner_reviews": true, + "require_last_push_approval": false, + "required_approving_review_count": 1, + "restrict_dismissals": false + } + ], + "required_status_checks": [], + "restrict_pushes": [] + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "module.vpc_module_repo.data.github_ref.ref", + "module.vpc_module_repo.data.github_repository.template_repo", + "module.vpc_module_repo.data.github_user.pull_request_bypassers", + "module.vpc_module_repo.github_repository.repo", + "module.vpc_module_repo.github_repository_file.codeowners", + "module.vpc_module_repo.github_repository_file.extra_files" + ] + } + ] + }, + { + "module": "module.vpc_module_repo", + "mode": "managed", + "type": "github_repository", + "name": "repo", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "allow_auto_merge": false, + "allow_merge_commit": false, + "allow_rebase_merge": false, + "allow_squash_merge": true, + "allow_update_branch": false, + "archive_on_destroy": true, + "archived": false, + "auto_init": true, + "default_branch": "main", + "delete_branch_on_merge": true, + "description": "Terraform module for creating VPCs in AWS", + "etag": "W/\"3d0f9313f1622b06317221cbae594454a2723b6ef76a7aff3543720462640bcc\"", + "full_name": "HappyPathway/terraform-aws-tfvpc", + "git_clone_url": "git://github.com/HappyPathway/terraform-aws-tfvpc.git", + "gitignore_template": "Terraform", + "has_discussions": false, + "has_downloads": false, + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "homepage_url": "", + "html_url": "https://github.com/HappyPathway/terraform-aws-tfvpc", + "http_clone_url": "https://github.com/HappyPathway/terraform-aws-tfvpc.git", + "id": "terraform-aws-tfvpc", + "ignore_vulnerability_alerts_during_read": null, + "is_template": false, + "license_template": null, + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "name": "terraform-aws-tfvpc", + "node_id": "R_kgDON3LZog", + "pages": [], + "primary_language": "", + "private": false, + "repo_id": 930273698, + "security_and_analysis": [ + { + "advanced_security": [], + "secret_scanning": [ + { + "status": "disabled" + } + ], + "secret_scanning_push_protection": [ + { + "status": "disabled" + } + ] + } + ], + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "ssh_clone_url": "git@github.com:HappyPathway/terraform-aws-tfvpc.git", + "svn_url": "https://github.com/HappyPathway/terraform-aws-tfvpc", + "template": [], + "topics": [ + "aws", + "networking", + "terraform", + "vpc" + ], + "visibility": "public", + "vulnerability_alerts": true, + "web_commit_signoff_required": false + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "module": "module.vpc_module_repo", + "mode": "managed", + "type": "github_repository_file", + "name": "codeowners", + "provider": "provider[\"registry.terraform.io/integrations/github\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "autocreate_branch": null, + "autocreate_branch_source_branch": null, + "autocreate_branch_source_sha": null, + "branch": "main", + "commit_author": null, + "commit_email": null, + "commit_message": "Add CODEOWNERS", + "commit_sha": "aa5b990092fd34bd9ac3c2735ef5ea00ea991fd1", + "content": "# These owners will be the default owners for everything in the repo. Unless a later match takes precedence\n* @HappyPathway/terraform-reviewers\n", + "file": "CODEOWNERS", + "id": "terraform-aws-tfvpc/CODEOWNERS", + "overwrite_on_create": true, + "ref": "main", + "repository": "terraform-aws-tfvpc", + "sha": "e6a937236e06dca2afabd40edefba5251ba764ae" + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "module.vpc_module_repo.github_repository.repo" + ] + } + ] + } + ], + "check_results": null +}