Skip to content

add documentation for tests #2332

@Dialgatrainer02

Description

@Dialgatrainer02

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when <...>
i want to be able to test my terraform modules that use this provider however as its such a new feature in terraform/tofu there isn't any good documentation especially with this provider ive tried but kept on running into issues and would like some more documentation

Describe the solution you'd like
A clear and concise description of what you want to happen.

give examples on how to write tests with the provider: how to test a vm is created properly and mock resources and data eg spoofing the available nodes so there not reliant on existing infrastructure.
also potentially having a way to bypass authentication for fully offline tests when mocking the provider eg https://registry.terraform.io/providers/hashicorp/aws/latest/docs#skip_credentials_validation-1

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
ive looked at terratest but i have no go experience and it would be a significant venture especially when first party tools are available

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    📥 Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions