Skip to content

feat(iaas): add stackit_networks data source - #1623

Open
thorbenbelow wants to merge 1 commit into
stackitcloud:mainfrom
thorbenbelow:feature/stackit-networks-datasource
Open

feat(iaas): add stackit_networks data source#1623
thorbenbelow wants to merge 1 commit into
stackitcloud:mainfrom
thorbenbelow:feature/stackit-networks-datasource

Conversation

@thorbenbelow

Copy link
Copy Markdown

Description

This PR adds the stackit_networks data source that allows listing Networks in a project, optionally filtered by name and/or labels.

The filtering options are modeled after the existing patterns in stackit_service_accounts. The output is returned as a simplified flat list containing only the network name and network ID to avoid code duplication, similar to plural data sources in other providers (e. g. aws_subnets).

solves #1600

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)

Signed-off-by: Thorben Below <56894536+thorbenbelow@users.noreply.github.com>
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.

1 participant