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

GFI-151: add ecs_support to teams_location #1826

Merged
merged 2 commits into from Apr 23, 2024

Conversation

alyssamw
Copy link
Contributor

Description

The ecs_support field for locations has been present in the API but missing in terraform. This adds it.
https://developers.cloudflare.com/api/operations/zero-trust-gateway-locations-create-zero-trust-gateway-location

Has your change been tested?

Unit tests

Types of changes

What sort of change does your code introduce/modify?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • This change is using publicly documented in cloudflare/api-schemas
    and relies on stable APIs.

Copy link
Contributor

changelog detected ✅

Copy link
Member

@jacobbednarz jacobbednarz left a comment

Choose a reason for hiding this comment

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

lgtm with a small convention fix

@@ -35,6 +35,7 @@ type TeamsLocation struct {
AnonymizedLogsEnabled bool `json:"anonymized_logs_enabled"`
IPv4Destination string `json:"ipv4_destination"`
ClientDefault bool `json:"client_default"`
ECSSupport bool `json:"ecs_support,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
ECSSupport bool `json:"ecs_support,omitempty"`
ECSSupport *bool `json:"ecs_support,omitempty"`

https://github.com/cloudflare/cloudflare-go/blob/master/docs/conventions.md#booleans

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@jacobbednarz jacobbednarz merged commit bdbee54 into cloudflare:master Apr 23, 2024
10 checks passed
@github-actions github-actions bot added this to the v0.94.0 milestone Apr 23, 2024
Copy link
Contributor

This functionality has been released in v0.94.0.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants