acctestutil

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package acctestutil provides utilities for Terraform acceptance tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceId

func GetResourceId(s *terraform.State, resourceName string) (string, error)

TestAccGetResourceId returns the ID of the resource with the given name, when provided with the Terraform state.

This is useful for acceptance tests, in order to verify that a resource has been recreated and hence its ID has changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL