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

Adding support to configure execution mode #92

Merged
merged 4 commits into from
Sep 27, 2019

Conversation

sudomateo
Copy link
Contributor

Attempting to add the ability to manage execution mode via the SDK. Looking for some feedback and also help with adding this to tests.

Requires hashicorp/go-tfe#84 to be merged first.

Copy link
Contributor

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good 👍 It probably only need some (updated) tests and maybe we should think for a minute about the name remote_execution.

While I very much agree that this name is more descriptive then just operation, it's about the only place were we would have a different name in the TF provider then what is used in the API. Not a problem, but something to make a conscious decision about.

tfe/data_source_workspace.go Outdated Show resolved Hide resolved
tfe/data_source_workspace.go Outdated Show resolved Hide resolved
tfe/resource_tfe_workspace.go Outdated Show resolved Hide resolved
tfe/resource_tfe_workspace.go Outdated Show resolved Hide resolved
Renamed to operations
Alphabetized new item in the schema
Initial pass at adding to tests
@ghost ghost added size/S and removed size/XS labels Sep 17, 2019
@sudomateo
Copy link
Contributor Author

Thank you again for the feedback. I pushed some changes to implement the changes. I'm okay with renaming this operations to stay consistent with the rest of the resource.

Copy link
Member

@alisdair alisdair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 also looks good to me!

@svanharmelen
Copy link
Contributor

Fixes #87

@ghost ghost added size/L dependencies and removed size/S labels Sep 27, 2019
@sudomateo sudomateo marked this pull request as ready for review September 27, 2019 17:24
@sudomateo sudomateo merged commit 2021984 into master Sep 27, 2019
alisdair added a commit that referenced this pull request Sep 27, 2019
@sudomateo sudomateo deleted the feature/workspace-operations branch September 27, 2019 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants