diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..ec07fb81 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @hashicorp/team-tf-ansible-integration \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..cf223dbc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,54 @@ +--- +name: Bug report +about: Let us know about an unexpected error, a crash, or an incorrect behavior. +labels: bug +--- + + + +#### python-tfe version + +```plaintext +... +``` + +## Description + + +## Testing plan + +```plaintext +... +``` + +#### Expected Behavior + + +#### Actual Behavior + + +#### Additional Context + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..f6782d3b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: HCP Terraform and Terraform Enterprise Troubleshooting and Feature Requests + url: https://support.hashicorp.com/hc/en-us/requests/new + about: For issues and feature requests concerning the HCP Terraform and Terraform Enterprise platform itself, please submit a HashiCorp support request or email tf-cloud@hashicorp.support + - name: Terraform Language or Workflow Questions + url: https://discuss.hashicorp.com + about: Please ask Terraform language or workflow related questions through the HashiCorp Discuss forum diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..07f602ad --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,43 @@ +--- +name: Feature request +about: Suggest a new feature or other enhancement. +labels: feature-request +--- + + + + +#### Use-cases + + +#### Attempted Solutions + + +#### Proposal + diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..0534f448 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +--- +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..9d614dc2 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,64 @@ + + +## Description + + + +## Testing plan + + + +## External links + + + +## Output from tests +Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against. + + +``` +... +``` + + +## Rollback Plan + + + +## Changes to Security Controls + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..60a7c8f3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,136 @@ +# Mac specific +.DS_Store + +# python specific +__pycache__ +.coverage +coverage_results +.coverage* +coverage.xml +htmlcov +.venv +.pyre +.pytest_cache/ + +# Visual Studio Code +.vscode/ +.env + +# build artifacts +**/test-results/** +blu-server-coverage.tgz +.artifacts/** +dist/** +**/sqlite_test.db +.container-id +docker-artifacts/** +portal.zip +analyzer.zip +ngrok.log + +# portal copy +static/server-version.txt + +# other cloned repos +.repos/** + + +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 +.idea/ +*.iml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +# Database stuff +database/postgresql-*.jar + +# OS stuff +*.pid + +# Profile files +profiles + +# Pyenv +# .python-version is needed by setup-python GH action +# .python-version + +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Cached build artifacts from the Go build system +.cache + +# Test binary, build with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# OS-specific files +.DS_Store + +# Repo-specific +bin/ + +# Generated protoset files +*.protoset + +# Root vendor directory generated from the Go build system +/vendor + +### Visual Studio Code ### +.vscode/* +!.vscode/settings.json +!.vscode/launch.json +!.vscode/extensions.json + +# Ignore code-workspaces +*.code-workspace +/app/__pycache__/ + +# Terraform +terraform/local/.terraform/** +poc-terraform/.terraform +poc-terraform/terraform.tfstate* + +# Proto bin generated files +protos.bin + +# Local RSA keys +.local/* diff --git a/Pipfile b/Pipfile new file mode 100644 index 00000000..d61ea531 --- /dev/null +++ b/Pipfile @@ -0,0 +1,11 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] + +[dev-packages] + +[requires] +python_version = "3.13"