Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[terraform] create SCM connectors #67

Open
jimsheldon opened this issue May 1, 2023 · 2 comments
Open

[terraform] create SCM connectors #67

jimsheldon opened this issue May 1, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request terraform Terraform configuration generation

Comments

@jimsheldon
Copy link
Contributor

The terraform subcommand should create SCM and/or Docker connector resource configurations, similar to import/migrate.

Flags such as --github-token or --gitlab-token should result in harness_platform_connector_github or harness_platform_connector_gitlab being written into the configuration, and referenced appropriately in the pipeline yaml.

@jimsheldon jimsheldon added enhancement New feature or request terraform Terraform configuration generation labels May 1, 2023
@jimsheldon
Copy link
Contributor Author

Changing the title so this is specific to creating examples.

In #76 we are trying to remove SCM calls, so import/migrate will no longer create connectors.

@jimsheldon jimsheldon self-assigned this May 15, 2023
@jimsheldon
Copy link
Contributor Author

The above is untrue! :)

<provider> import will create the SCM connector if the token is passed, terraform should have the same behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request terraform Terraform configuration generation
Projects
None yet
Development

No branches or pull requests

1 participant