ACLP Logs SDK Pull request#2359
Open
klipensk wants to merge 38 commits into
Open
Conversation
Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) from 1.98.0 to 1.100.1. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.98.0...service/s3/v1.100.1) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.100.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fixed issues with integration tests * Fix lint * Ran go mod tidy
…e#2340) Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.40.0 to 2.40.1. - [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/v2.40.1/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-sdk@v2.40.0...v2.40.1) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2 dependency-version: 2.40.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Dps 42280 logs destination
33d0b4a to
a2f18a1
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Terraform Framework support for Monitor Logs destinations and streams, including singular resources/data sources, list data sources, stream history lookup, acceptance/unit tests, provider registration, and CI suite wiring.
Changes:
- Adds
linode_monitor_logs_destinationandlinode_monitor_logs_streamresources with schema, CRUD, model flattening, templates, and tests. - Adds singular/list data sources for destinations and streams, plus a stream history data source.
- Registers the new Terraform types and adds their integration suites to the workflow.
Reviewed changes
Copilot reviewed 52 out of 52 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/integration_tests.yml |
Adds monitor logs suites and long-test env propagation. |
linode/framework_provider.go |
Registers new monitor logs resources and data sources. |
linode/monitorlogsdestination/framework_resource.go |
Implements destination resource CRUD. |
linode/monitorlogsdestination/framework_models.go |
Adds destination resource/data source models and flattening. |
linode/monitorlogsdestination/framework_schema_resource.go |
Defines destination resource schema. |
linode/monitorlogsdestination/framework_schema_datasource.go |
Defines singular destination data source schema. |
linode/monitorlogsdestination/framework_datasource.go |
Implements singular destination data source read. |
linode/monitorlogsdestination/framework_models_unit_test.go |
Adds destination model unit tests. |
linode/monitorlogsdestination/resource_test.go |
Adds destination resource acceptance tests. |
linode/monitorlogsdestination/datasource_test.go |
Adds destination data source acceptance tests. |
linode/monitorlogsdestination/tmpl/template.go |
Adds destination test template helpers. |
linode/monitorlogsdestination/tmpl/basic.gotf |
Adds destination basic resource test config. |
linode/monitorlogsdestination/tmpl/updates.gotf |
Adds destination update test config. |
linode/monitorlogsdestination/tmpl/bucket_only.gotf |
Adds bucket-only teardown config. |
linode/monitorlogsdestination/tmpl/data_basic.gotf |
Adds destination data source test config. |
linode/monitorlogsdestination/tmpl/data_not_found.gotf |
Adds destination not-found data source config. |
linode/monitorlogsdestination/tmpl/invalid_type.gotf |
Adds invalid destination type config. |
linode/monitorlogsdestinations/framework_datasource.go |
Implements list destination data source read/filtering. |
linode/monitorlogsdestinations/framework_models.go |
Adds list destination models. |
linode/monitorlogsdestinations/framework_schema_datasource.go |
Defines list destination data source schema/filter config. |
linode/monitorlogsdestinations/datasource_test.go |
Adds list destination data source acceptance test. |
linode/monitorlogsdestinations/tmpl/template.go |
Adds list destination test template helpers. |
linode/monitorlogsdestinations/tmpl/data_basic.gotf |
Adds list destination data source test config. |
linode/monitorlogsdestinations/tmpl/bucket_only.gotf |
Adds bucket-only teardown config. |
linode/monitorlogsstream/framework_resource.go |
Implements stream resource CRUD/import. |
linode/monitorlogsstream/framework_models.go |
Adds stream resource/data source models and options builders. |
linode/monitorlogsstream/framework_schema_resource.go |
Defines stream resource schema. |
linode/monitorlogsstream/framework_schema_datasource.go |
Defines singular stream data source schema. |
linode/monitorlogsstream/framework_datasource.go |
Implements singular stream data source read. |
linode/monitorlogsstream/framework_models_unit_test.go |
Adds stream model unit tests. |
linode/monitorlogsstream/resource_test.go |
Adds long-running stream lifecycle acceptance test and invalid config tests. |
linode/monitorlogsstream/datasource_test.go |
Adds stream data source not-found test. |
linode/monitorlogsstream/tmpl/template.go |
Adds stream test template helpers. |
linode/monitorlogsstream/tmpl/basic.gotf |
Adds stream basic resource test config. |
linode/monitorlogsstream/tmpl/lifecycle.gotf |
Adds stream lifecycle config covering related data sources. |
linode/monitorlogsstream/tmpl/updates.gotf |
Adds stream update config. |
linode/monitorlogsstream/tmpl/data_basic.gotf |
Adds singular stream data source config. |
linode/monitorlogsstream/tmpl/data_not_found.gotf |
Adds stream not-found data source config. |
linode/monitorlogsstream/tmpl/invalid_type.gotf |
Adds invalid stream type config. |
linode/monitorlogsstream/tmpl/invalid_destination.gotf |
Adds invalid destination config. |
linode/monitorlogsstreams/framework_datasource.go |
Implements list stream data source read/filtering. |
linode/monitorlogsstreams/framework_models.go |
Adds list stream models. |
linode/monitorlogsstreams/framework_schema_datasource.go |
Defines list stream data source schema/filter config. |
linode/monitorlogsstreams/datasource_test.go |
Adds skipped list stream data source test placeholder. |
linode/monitorlogsstreams/tmpl/template.go |
Adds list stream data source template helper. |
linode/monitorlogsstreams/tmpl/data_basic.gotf |
Adds list stream data source config. |
linode/monitorlogsstreamhistory/framework_datasource.go |
Implements stream history data source read. |
linode/monitorlogsstreamhistory/framework_models.go |
Adds stream history models and flattening. |
linode/monitorlogsstreamhistory/framework_schema_datasource.go |
Defines stream history data source schema. |
linode/monitorlogsstreamhistory/datasource_test.go |
Adds skipped stream history test placeholder. |
linode/monitorlogsstreamhistory/tmpl/template.go |
Adds stream history template helper. |
linode/monitorlogsstreamhistory/tmpl/data_basic.gotf |
Adds stream history data source config. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
yec-akamai
reviewed
Jun 2, 2026
yec-akamai
left a comment
Contributor
There was a problem hiding this comment.
Can you add documentations for the new resources and data sources under /docs?
Author
|
added docs #2359 (review) |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: sjerecze <sjerecze@akamai.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Clarify that 'cannot_delete_with_subresources' lock does not apply to 'lkecluster' or 'lkenodepool' entity types.
* Added support for optional root password in the linode_instance resource * Fix lint * Made root_pass optional for linode_instance_disk resource * Added support for boot_size and kernel fields * Address CoPilot feedback * Fix lint * Address PR comments
…ode#2362) Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.11.4 to 2.12.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md) - [Commits](golangci/golangci-lint@v2.11.4...v2.12.2) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint/v2 dependency-version: 2.12.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) from 1.19.16 to 1.19.19. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@credentials/v1.19.16...credentials/v1.19.19) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/credentials dependency-version: 1.19.19 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…linode#2364) Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.41.9 to 1.41.11. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@v1.41.9...v1.41.11) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2 dependency-version: 1.41.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…inode#2367) Bumps [github.com/linode/linodego](https://github.com/linode/linodego) from 1.69.0 to 1.69.1. - [Release notes](https://github.com/linode/linodego/releases) - [Commits](linode/linodego@v1.69.0...v1.69.1) --- updated-dependencies: - dependency-name: github.com/linode/linodego dependency-version: 1.69.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…e#2363) Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4 to 5. - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@v4...v5) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Adds Terraform support for the monitoring log destinations api and streams api.
✔️ How to Test
Unit tests:
Integration tests (package specific):