Documentation ¶
Overview ¶
Package iam provides a Terraform datasource.
Package org provides a Terraform datasource.
Package iam provides a Terraform resource.
Package org provides a Terraform resource to manage org users.
Index ¶
- func NewIAMRightDataSource() datasource.DataSource
- func NewIAMUserResource() resource.Resource
- func NewRoleDataSource() datasource.DataSource
- func NewRoleResource() resource.Resource
- func NewTokenResource() resource.Resource
- func NewUserDataSource() datasource.DataSource
- type RightModel
- type RightModelImpliedRight
- type RightModelImpliedRights
- type TokenModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIAMRightDataSource ¶
func NewIAMRightDataSource() datasource.DataSource
func NewIAMUserResource ¶
NewuserResource is a helper function to simplify the provider implementation.
func NewRoleDataSource ¶
func NewRoleDataSource() datasource.DataSource
func NewRoleResource ¶
NewroleResource is a helper function to simplify the provider implementation.
func NewTokenResource ¶ added in v0.10.0
NewTokenResource is a helper function to simplify the provider implementation.
func NewUserDataSource ¶
func NewUserDataSource() datasource.DataSource
NewuserDataSource returns a new Org User data source.
Types ¶
type RightModel ¶ added in v0.7.0
type RightModel struct { BundleKey supertypes.StringValue `tfsdk:"bundle_key"` CategoryID supertypes.StringValue `tfsdk:"category_id"` Description supertypes.StringValue `tfsdk:"description"` ID supertypes.StringValue `tfsdk:"id"` ImpliedRights supertypes.SetNestedValue `tfsdk:"implied_rights"` Name supertypes.StringValue `tfsdk:"name"` RightType supertypes.StringValue `tfsdk:"right_type"` }
func NewIAMRight ¶ added in v0.7.0
func NewIAMRight(t any) *RightModel
func (*RightModel) Copy ¶ added in v0.7.0
func (rm *RightModel) Copy() *RightModel
func (*RightModel) GetImpliedRights ¶ added in v0.7.0
func (rm *RightModel) GetImpliedRights(ctx context.Context) (values RightModelImpliedRights, diags diag.Diagnostics)
GetImpliedRights returns the value of the ImpliedRights field.
type RightModelImpliedRight ¶ added in v0.7.0
type RightModelImpliedRight struct { ID supertypes.StringValue `tfsdk:"id"` Name supertypes.StringValue `tfsdk:"name"` }
* ImpliedRight.
type RightModelImpliedRights ¶ added in v0.7.0
type RightModelImpliedRights []RightModelImpliedRight
* ImpliedRights.
type TokenModel ¶ added in v0.10.0
type TokenModel struct { FileName supertypes.StringValue `tfsdk:"file_name"` ID supertypes.StringValue `tfsdk:"id"` Name supertypes.StringValue `tfsdk:"name"` PrintToken supertypes.BoolValue `tfsdk:"print_token"` SaveInFile supertypes.BoolValue `tfsdk:"save_in_file"` SaveInTfstate supertypes.BoolValue `tfsdk:"save_in_tfstate"` Token supertypes.StringValue `tfsdk:"token"` }
func (*TokenModel) Copy ¶ added in v0.10.0
func (rm *TokenModel) Copy() *TokenModel
Source Files ¶
Click to show internal directories.
Click to hide internal directories.