iam

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MPL-2.0 Imports: 41 Imported by: 0

Documentation

Overview

Package iam contains implementation for Akamai Terraform sub-provider responsible for managing identities and accesses

Index

Constants

View Source
const UnknownVariableValue = "74D93920-ED26-11E3-AC10-0800200C9A66"

UnknownVariableValue is a sentinel value that is used to denote that the value of a variable is unknown at this time. RawConfig uses this information to build up data about unknown keys. https://github.com/hashicorp/terraform-plugin-sdk/blob/v2.17.0/internal/configs/hcl2shim/values.go#L16

Variables

View Source
var (

	// ErrIAMGetCIDRBlock is returned when GetCIDRBlock fails.
	ErrIAMGetCIDRBlock = errors.New("IAM get CIDR block failed")
)
View Source
var (

	// ErrIAMGetUser is returned when GetUser fails.
	ErrIAMGetUser = errors.New("IAM get user failed")
)
View Source
var (

	// ErrIAMListAllowedAPIs is returned when ListAllowedAPIs fails.
	ErrIAMListAllowedAPIs = errors.New("IAM list allowed APIs failed")
)
View Source
var (

	// ErrIAMListCIDRBlocks is returned when ListCIDRBlocks fails.
	ErrIAMListCIDRBlocks = errors.New("IAM list CIDR blocks failed")
)

Functions

func NewAccessibleGroupsDataSource

func NewAccessibleGroupsDataSource() datasource.DataSource

NewAccessibleGroupsDataSource returns new accessible groups data source.

func NewAccountSwitchKeysDataSource

func NewAccountSwitchKeysDataSource() datasource.DataSource

NewAccountSwitchKeysDataSource returns a new account switch keys data source.

func NewAllowedAPIsDataSource

func NewAllowedAPIsDataSource() datasource.DataSource

NewAllowedAPIsDataSource returns a new iam allowed APIs data source

func NewAuthorizedUsersDataSource

func NewAuthorizedUsersDataSource() datasource.DataSource

NewAuthorizedUsersDataSource returns the list of authorized API client users.

func NewBlockedPropertiesDataSource

func NewBlockedPropertiesDataSource() datasource.DataSource

NewBlockedPropertiesDataSource returns all the properties that are blocked for a certain user in a group.

func NewCIDRBlockDataSource

func NewCIDRBlockDataSource() datasource.DataSource

NewCIDRBlockDataSource returns a new iam CIDR block data source.

func NewCIDRBlockResource

func NewCIDRBlockResource() resource.Resource

NewCIDRBlockResource returns new akamai_iam_cidr_block resource.

func NewCIDRBlocksDataSource

func NewCIDRBlocksDataSource() datasource.DataSource

NewCIDRBlocksDataSource returns a new iam CIDR blocks data source.

func NewGroupDataSource

func NewGroupDataSource() datasource.DataSource

NewGroupDataSource returns all the details for a group.

func NewIPAllowlistResource

func NewIPAllowlistResource() resource.Resource

NewIPAllowlistResource returns new akamai_iam_ip_allowlist resource.

func NewPasswordPolicyDataSource

func NewPasswordPolicyDataSource() datasource.DataSource

NewPasswordPolicyDataSource returns a new password policy data source.

func NewPropertyUsersDataSource

func NewPropertyUsersDataSource() datasource.DataSource

NewPropertyUsersDataSource returns a new iam property users data source.

func NewRoleDataSource

func NewRoleDataSource() datasource.DataSource

NewRoleDataSource returns all the details for a role.

func NewUserDataSource

func NewUserDataSource() datasource.DataSource

NewUserDataSource returns a new iam user data source.

func NewUsersAffectedByMovingGroupDataSource

func NewUsersAffectedByMovingGroupDataSource() datasource.DataSource

NewUsersAffectedByMovingGroupDataSource returns new users affected by moving group data source.

func NewUsersDataSource

func NewUsersDataSource() datasource.DataSource

NewUsersDataSource returns a new iam users data source.

Types

type Subprovider

type Subprovider struct {
	// contains filtered or unexported fields
}

Subprovider gathers IAM resources and data sources

func NewSubprovider

func NewSubprovider(opts ...option) *Subprovider

NewSubprovider returns a new IAM subprovider

func (*Subprovider) Client

func (p *Subprovider) Client(meta meta.Meta) iam.IAM

Client returns the IAM interface

func (*Subprovider) FrameworkDataSources

func (p *Subprovider) FrameworkDataSources() []func() datasource.DataSource

FrameworkDataSources returns the IAM data sources implemented using terraform-plugin-framework

func (*Subprovider) FrameworkResources

func (p *Subprovider) FrameworkResources() []func() resource.Resource

FrameworkResources returns the IAM resources implemented using terraform-plugin-framework

func (*Subprovider) PapiClient

func (p *Subprovider) PapiClient(meta meta.Meta) papi.PAPI

PapiClient returns the PAPI interface

func (*Subprovider) SDKDataSources

func (p *Subprovider) SDKDataSources() map[string]*schema.Resource

SDKDataSources returns the IAM data sources implemented using terraform-plugin-sdk

func (*Subprovider) SDKResources

func (p *Subprovider) SDKResources() map[string]*schema.Resource

SDKResources returns the IAM resources implemented using terraform-plugin-sdk

Jump to

Keyboard shortcuts

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