Skip to content

more fleet framework migrations #785

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

Merged
merged 7 commits into from
Sep 29, 2024
Merged

more fleet framework migrations #785

merged 7 commits into from
Sep 29, 2024

Conversation

daemitus
Copy link
Contributor

  • add a fleen gen transform to de-pointer *[]sometype and *map[string]sometype fields
  • migrate resource fleet_agent_policy
  • migrate resource fleet_integration
  • migrate data_source fleet_integration
  • migrate resource fleet_server_host

@daemitus
Copy link
Contributor Author

daemitus commented Sep 27, 2024 via email

@daemitus
Copy link
Contributor Author

ok.

  • x-go-pointer flag is dropped.
  • fixed agent policy monitoring test ignores finally
  • shared integration.create with update
  • added FromSDK tests to all 3 migrated resources

@tobio
Copy link
Member

tobio commented Sep 29, 2024

whats your take then on all of the nested anonymous structs?

Yea, these are a total pain. Ultimately we need to fix these in the source though so anyone using the specs can benefit.

Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

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

❤️ thanks for doing this work. It simplifies ongoing development loads!

@tobio tobio merged commit 123b0a8 into elastic:main Sep 29, 2024
20 checks passed
@daemitus
Copy link
Contributor Author

daemitus commented Sep 29, 2024 via email

@daemitus daemitus deleted the feat branch September 29, 2024 10:56
kjwardy pushed a commit to kjwardy/terraform-provider-elasticstack that referenced this pull request Sep 30, 2024
* impl fw resource.agent_policy

* impl fw resource/data_source integration

* impl fw resource.fleet_server_host

* update changelog

* pull in sysMonitoring update

* requested changes

* fix *[] usage
tobio added a commit that referenced this pull request Sep 30, 2024
* origin/main: (39 commits)
  chore(deps): update golang:1.23.1 docker digest to 4f063a2 (#804)
  fix(deps): update module github.com./go-resty/resty/v2 to v2.15.3 (#781)
  fix for http/tcp monitor produces inconsistent result after apply (#801)
  chore(deps): update docker.elastic.co/elasticsearch/elasticsearch docker tag to v8.15.2 (#798)
  chore(deps): update docker.elastic.co/kibana/kibana docker tag to v8.15.2 (#799)
  Bump github.com./oapi-codegen/oapi-codegen/v2 in /tools (#808)
  Bump github.com./oapi-codegen/oapi-codegen/v2 from 2.4.0 to 2.4.1 (#806)
  Bump actions/checkout from 4.1.7 to 4.2.0 (#807)
  more fleet framework migrations (#785)
  Apply the sys_monitoring attribute during creation (#792)
  fix(deps): update module github.com./oapi-codegen/oapi-codegen/v2 to v2.4.0 (#788)
  fix(docs): indices datesource example field (#786)
  fix(deps): update module github.com./hashicorp/terraform-plugin-framework to v1.12.0 (#782)
  chore(deps): pin golang docker tag to 2fe82a3 (#783)
  Remove GO_VERSION indirection
  Fix release pipeline
  Prepare release v0.11.7
  fix(deps): update module github.com./goreleaser/goreleaser/v2 to v2.3.2 (#776)
  impl framework data_source.fleet_enrollment_tokens (#778)
  Add support for the `alerts_filter` param in the Create Rule API (#774)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants