Skip to content

feat(iaas): min/max acc tests#811

Merged
marceljk merged 14 commits intomainfrom
feat/iaas-acc-tests
May 9, 2025
Merged

feat(iaas): min/max acc tests#811
marceljk merged 14 commits intomainfrom
feat/iaas-acc-tests

Conversation

@marceljk
Copy link
Copy Markdown
Contributor

@marceljk marceljk commented May 8, 2025

Description

relates to STACKITTPR-190

  • feat: add min/max acc tests
  • fix: stackit_image when VirtioScsi is set to false, the provider returns an error
  • fix: stackit_key_pair missing RequiresReplace for name
  • fix: stackit_network_area validation for min_prefix_length adjusted
  • fix: stackit_public_ip set network_interface_id to computed
  • fix: stackit_server doesn't load user_data

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Acceptance tests got implemented or updated (see e.g. here)
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

Marcel Jacek added 13 commits May 2, 2025 16:40
- fix: wrong atLeast-validator for `minimum_prefix_length`
- fix: volume update doesn't work if no name was defined
- fix: volume.server_id can not be set
- fix: error message volume.size returns value but was null
- stackit_server_volume_attach
- stackit_server_network_interface_attach
- stackit_server_service_account_attach
- image: fix read of Config.VirtioScsi
- keypair: add missing RequiresReplace() for name
- server: add missing UserData read in datasource and resource
- fix: when a nic is assigned to a public ip, the field network_interface_id leads to recreation
Comment thread stackit/internal/services/iaas/iaas_acc_test.go Outdated
Comment thread stackit/internal/services/iaas/image/resource.go
Comment thread stackit/internal/services/iaas/image/datasource.go
Comment thread stackit/internal/services/iaas/testdata/resource-server-max.tf
Comment thread stackit/internal/services/iaas/testdata/resource-server-max.tf
Comment thread stackit/internal/services/iaas/testdata/resource-server-min.tf
Comment thread stackit/internal/services/iaas/testdata/resource-volume-max.tf
@marceljk marceljk merged commit c7c64a5 into main May 9, 2025
3 checks passed
@marceljk marceljk deleted the feat/iaas-acc-tests branch May 9, 2025 06:49
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