├── .gitignore ├── README.md ├── TODO.md ├── __init__.py ├── migration.py ├── outputs.txt ├── select_items_list.example.json ├── sensitive_data.txt ├── terraform └── test_source │ ├── main.tf │ ├── module │ └── main.tf │ ├── sentinel │ ├── policy-limit-cost.sentinel │ ├── policy-prohibit-local-exec.sentinel │ └── sentinel.hcl │ ├── terraform.tfvars.example │ └── variables.tf ├── tfc_migrate ├── __init__.py ├── _constants.py ├── agent_pools.py ├── base_worker.py ├── config_versions.py ├── migrator.py ├── notification_configs.py ├── org_memberships.py ├── policies.py ├── policy_set_params.py ├── policy_sets.py ├── registry_module_versions.py ├── registry_modules.py ├── run_triggers.py ├── ssh_keys.py ├── state_versions.py ├── team_access.py ├── teams.py ├── workspace_ssh_keys.py ├── workspace_vars.py └── workspaces.py ├── unused_functions.py └── vcs.example.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/TODO.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/migration.py -------------------------------------------------------------------------------- /outputs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/outputs.txt -------------------------------------------------------------------------------- /select_items_list.example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/select_items_list.example.json -------------------------------------------------------------------------------- /sensitive_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/sensitive_data.txt -------------------------------------------------------------------------------- /terraform/test_source/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/terraform/test_source/main.tf -------------------------------------------------------------------------------- /terraform/test_source/module/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/terraform/test_source/module/main.tf -------------------------------------------------------------------------------- /terraform/test_source/sentinel/policy-limit-cost.sentinel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/terraform/test_source/sentinel/policy-limit-cost.sentinel -------------------------------------------------------------------------------- /terraform/test_source/sentinel/policy-prohibit-local-exec.sentinel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/terraform/test_source/sentinel/policy-prohibit-local-exec.sentinel -------------------------------------------------------------------------------- /terraform/test_source/sentinel/sentinel.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/terraform/test_source/sentinel/sentinel.hcl -------------------------------------------------------------------------------- /terraform/test_source/terraform.tfvars.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/terraform/test_source/terraform.tfvars.example -------------------------------------------------------------------------------- /terraform/test_source/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/terraform/test_source/variables.tf -------------------------------------------------------------------------------- /tfc_migrate/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/__init__.py -------------------------------------------------------------------------------- /tfc_migrate/_constants.py: -------------------------------------------------------------------------------- 1 | """ 2 | Constants for workers to leverage with TFC/E API. 3 | """ 4 | 5 | LIST_PAGE_SIZE = 100 6 | -------------------------------------------------------------------------------- /tfc_migrate/agent_pools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/agent_pools.py -------------------------------------------------------------------------------- /tfc_migrate/base_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/base_worker.py -------------------------------------------------------------------------------- /tfc_migrate/config_versions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/config_versions.py -------------------------------------------------------------------------------- /tfc_migrate/migrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/migrator.py -------------------------------------------------------------------------------- /tfc_migrate/notification_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/notification_configs.py -------------------------------------------------------------------------------- /tfc_migrate/org_memberships.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/org_memberships.py -------------------------------------------------------------------------------- /tfc_migrate/policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/policies.py -------------------------------------------------------------------------------- /tfc_migrate/policy_set_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/policy_set_params.py -------------------------------------------------------------------------------- /tfc_migrate/policy_sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/policy_sets.py -------------------------------------------------------------------------------- /tfc_migrate/registry_module_versions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/registry_module_versions.py -------------------------------------------------------------------------------- /tfc_migrate/registry_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/registry_modules.py -------------------------------------------------------------------------------- /tfc_migrate/run_triggers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/run_triggers.py -------------------------------------------------------------------------------- /tfc_migrate/ssh_keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/ssh_keys.py -------------------------------------------------------------------------------- /tfc_migrate/state_versions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/state_versions.py -------------------------------------------------------------------------------- /tfc_migrate/team_access.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/team_access.py -------------------------------------------------------------------------------- /tfc_migrate/teams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/teams.py -------------------------------------------------------------------------------- /tfc_migrate/workspace_ssh_keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/workspace_ssh_keys.py -------------------------------------------------------------------------------- /tfc_migrate/workspace_vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/workspace_vars.py -------------------------------------------------------------------------------- /tfc_migrate/workspaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/tfc_migrate/workspaces.py -------------------------------------------------------------------------------- /unused_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/unused_functions.py -------------------------------------------------------------------------------- /vcs.example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cneralich/tfe-tfc-migration-tool/HEAD/vcs.example.json --------------------------------------------------------------------------------