importmodel

package
v1.4.1 Latest Latest
Warning

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

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

Documentation

Overview

Package importmodel contains models to support importing Terraform resources using "terraform import"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	Slug                   string `json:"slug"`
	NotificationPolicySlug string `json:"notification_policy_slug"`
}

Bucket encapsulates all the data needed to import a bucket using `terraform import`

func ParseBucket

func ParseBucket(importID string) (Bucket, error)

ParseBucket parses a serialized bucket passed to `terraform import`.

Jump to

Keyboard shortcuts

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