Documentation ¶
Index ¶
- Constants
- func AccountAttributeSet() schema.SetNestedAttribute
- func CreatedAtAttribute() schema.Attribute
- func ModifiedByAttribute() schema.Attribute
- func New(version string) func() provider.Provider
- func NewAccountsDataSource() datasource.DataSource
- func NewApproversAccountResource() resource.Resource
- func NewApproversOUResource() resource.Resource
- func NewEligibilityGroupResource() resource.Resource
- func NewEligibilityUserResource() resource.Resource
- func NewSettingsDataSource() datasource.DataSource
- func NewSettingsResource() resource.Resource
- func OUAttributeSet() schema.SetNestedAttribute
- func PermissionAttributeSet() schema.SetNestedAttribute
- func UpdatedAtAttribute() schema.Attribute
- type AWSTEAMClient
- type AWSTEAMProvider
- func (p *AWSTEAMProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *AWSTEAMProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *AWSTEAMProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *AWSTEAMProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *AWSTEAMProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type AWSTEAMProviderModel
- type AccountsDataSource
- func (d *AccountsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AccountsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AccountsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AccountsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AccountsModel
- type ApproversAccountModel
- type ApproversAccountResource
- func (r *ApproversAccountResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApproversAccountResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApproversAccountResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApproversAccountResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApproversAccountResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApproversAccountResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApproversAccountResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApproversAccountResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApproversOUModel
- type ApproversOUResource
- func (r *ApproversOUResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApproversOUResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApproversOUResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApproversOUResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApproversOUResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApproversOUResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApproversOUResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApproversOUResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type EligibilityAccount
- type EligibilityGroupModel
- type EligibilityGroupResource
- func (r *EligibilityGroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *EligibilityGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *EligibilityGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *EligibilityGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *EligibilityGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *EligibilityGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *EligibilityGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *EligibilityGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type EligibilityOU
- type EligibilityPermission
- type EligibilityUserModel
- type EligibilityUserResource
- func (r *EligibilityUserResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *EligibilityUserResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *EligibilityUserResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *EligibilityUserResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *EligibilityUserResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *EligibilityUserResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *EligibilityUserResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *EligibilityUserResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SettingsDataSource
- func (d *SettingsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *SettingsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *SettingsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SettingsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type SettingsModel
- type SettingsResource
- func (r *SettingsResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *SettingsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SettingsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SettingsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *SettingsResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *SettingsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SettingsResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SettingsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
View Source
const (
ApproversAccountType = "Account"
)
View Source
const (
ApproversOUType = "OU"
)
View Source
const (
EligibilityGroupType = "Group"
)
View Source
const (
EligibilityUserType = "User"
)
View Source
const (
ProviderName = "awsteam"
)
Variables ¶
This section is empty.
Functions ¶
func AccountAttributeSet ¶ added in v0.2.0
func AccountAttributeSet() schema.SetNestedAttribute
func CreatedAtAttribute ¶
func ModifiedByAttribute ¶
func NewAccountsDataSource ¶ added in v1.1.0
func NewAccountsDataSource() datasource.DataSource
func NewApproversOUResource ¶
func NewEligibilityGroupResource ¶ added in v0.2.0
func NewEligibilityUserResource ¶ added in v0.2.0
func NewSettingsDataSource ¶
func NewSettingsDataSource() datasource.DataSource
func NewSettingsResource ¶
func OUAttributeSet ¶ added in v0.2.0
func OUAttributeSet() schema.SetNestedAttribute
func PermissionAttributeSet ¶ added in v0.2.0
func PermissionAttributeSet() schema.SetNestedAttribute
func UpdatedAtAttribute ¶
Types ¶
type AWSTEAMClient ¶
type AWSTEAMProvider ¶
type AWSTEAMProvider struct {
// contains filtered or unexported fields
}
func (*AWSTEAMProvider) Configure ¶
func (p *AWSTEAMProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*AWSTEAMProvider) DataSources ¶
func (p *AWSTEAMProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*AWSTEAMProvider) Metadata ¶
func (p *AWSTEAMProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*AWSTEAMProvider) Resources ¶
func (p *AWSTEAMProvider) Resources(ctx context.Context) []func() resource.Resource
func (*AWSTEAMProvider) Schema ¶
func (p *AWSTEAMProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type AWSTEAMProviderModel ¶
type AccountsDataSource ¶ added in v1.1.0
type AccountsDataSource struct {
// contains filtered or unexported fields
}
func (*AccountsDataSource) Configure ¶ added in v1.1.0
func (d *AccountsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AccountsDataSource) Metadata ¶ added in v1.1.0
func (d *AccountsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AccountsDataSource) Read ¶ added in v1.1.0
func (d *AccountsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AccountsDataSource) Schema ¶ added in v1.1.0
func (d *AccountsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AccountsModel ¶ added in v1.1.0
type ApproversAccountModel ¶
type ApproversAccountModel struct { Id types.String `tfsdk:"id"` AccountId types.String `tfsdk:"account_id"` AccountName types.String `tfsdk:"account_name"` Approvers types.Set `tfsdk:"approvers"` GroupIds types.Set `tfsdk:"group_ids"` TicketNo types.String `tfsdk:"ticket_no"` ModifiedBy types.String `tfsdk:"modified_by"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type ApproversAccountResource ¶
type ApproversAccountResource struct {
// contains filtered or unexported fields
}
func (*ApproversAccountResource) Configure ¶
func (r *ApproversAccountResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApproversAccountResource) Create ¶
func (r *ApproversAccountResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApproversAccountResource) Delete ¶
func (r *ApproversAccountResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApproversAccountResource) ImportState ¶
func (r *ApproversAccountResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApproversAccountResource) Metadata ¶
func (r *ApproversAccountResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApproversAccountResource) Read ¶
func (r *ApproversAccountResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApproversAccountResource) Schema ¶
func (r *ApproversAccountResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApproversAccountResource) Update ¶
func (r *ApproversAccountResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApproversOUModel ¶
type ApproversOUModel struct { Id types.String `tfsdk:"id"` OUName types.String `tfsdk:"ou_name"` Approvers types.Set `tfsdk:"approvers"` GroupIds types.Set `tfsdk:"group_ids"` OUId types.String `tfsdk:"ou_id"` TicketNo types.String `tfsdk:"ticket_no"` ModifiedBy types.String `tfsdk:"modified_by"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type ApproversOUResource ¶
type ApproversOUResource struct {
// contains filtered or unexported fields
}
func (*ApproversOUResource) Configure ¶
func (r *ApproversOUResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApproversOUResource) Create ¶
func (r *ApproversOUResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApproversOUResource) Delete ¶
func (r *ApproversOUResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApproversOUResource) ImportState ¶
func (r *ApproversOUResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApproversOUResource) Metadata ¶
func (r *ApproversOUResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApproversOUResource) Read ¶
func (r *ApproversOUResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApproversOUResource) Schema ¶
func (r *ApproversOUResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApproversOUResource) Update ¶
func (r *ApproversOUResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type EligibilityAccount ¶ added in v0.2.0
type EligibilityGroupModel ¶ added in v0.2.0
type EligibilityGroupModel struct { Id types.String `tfsdk:"id"` GroupName types.String `tfsdk:"group_name"` GroupId types.String `tfsdk:"group_id"` Accounts types.Set `tfsdk:"accounts"` OUs types.Set `tfsdk:"ous"` Permissions types.Set `tfsdk:"permissions"` TicketNo types.String `tfsdk:"ticket_no"` ApprovalRequired types.Bool `tfsdk:"approval_required"` Duration types.Int64 `tfsdk:"duration"` ModifiedBy types.String `tfsdk:"modified_by"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type EligibilityGroupResource ¶ added in v0.2.0
type EligibilityGroupResource struct {
// contains filtered or unexported fields
}
func (*EligibilityGroupResource) Configure ¶ added in v0.2.0
func (r *EligibilityGroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*EligibilityGroupResource) Create ¶ added in v0.2.0
func (r *EligibilityGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*EligibilityGroupResource) Delete ¶ added in v0.2.0
func (r *EligibilityGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*EligibilityGroupResource) ImportState ¶ added in v0.2.0
func (r *EligibilityGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EligibilityGroupResource) Metadata ¶ added in v0.2.0
func (r *EligibilityGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*EligibilityGroupResource) Read ¶ added in v0.2.0
func (r *EligibilityGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*EligibilityGroupResource) Schema ¶ added in v0.2.0
func (r *EligibilityGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*EligibilityGroupResource) Update ¶ added in v0.2.0
func (r *EligibilityGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type EligibilityOU ¶ added in v0.2.0
type EligibilityPermission ¶ added in v0.2.0
type EligibilityUserModel ¶ added in v0.2.0
type EligibilityUserModel struct { Id types.String `tfsdk:"id"` UserName types.String `tfsdk:"user_name"` UserId types.String `tfsdk:"user_id"` Accounts types.Set `tfsdk:"accounts"` OUs types.Set `tfsdk:"ous"` Permissions types.Set `tfsdk:"permissions"` TicketNo types.String `tfsdk:"ticket_no"` ApprovalRequired types.Bool `tfsdk:"approval_required"` Duration types.Int64 `tfsdk:"duration"` ModifiedBy types.String `tfsdk:"modified_by"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type EligibilityUserResource ¶ added in v0.2.0
type EligibilityUserResource struct {
// contains filtered or unexported fields
}
func (*EligibilityUserResource) Configure ¶ added in v0.2.0
func (r *EligibilityUserResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*EligibilityUserResource) Create ¶ added in v0.2.0
func (r *EligibilityUserResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*EligibilityUserResource) Delete ¶ added in v0.2.0
func (r *EligibilityUserResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*EligibilityUserResource) ImportState ¶ added in v0.2.0
func (r *EligibilityUserResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EligibilityUserResource) Metadata ¶ added in v0.2.0
func (r *EligibilityUserResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*EligibilityUserResource) Read ¶ added in v0.2.0
func (r *EligibilityUserResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*EligibilityUserResource) Schema ¶ added in v0.2.0
func (r *EligibilityUserResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*EligibilityUserResource) Update ¶ added in v0.2.0
func (r *EligibilityUserResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SettingsDataSource ¶
type SettingsDataSource struct {
// contains filtered or unexported fields
}
func (*SettingsDataSource) Configure ¶
func (d *SettingsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*SettingsDataSource) Metadata ¶
func (d *SettingsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SettingsDataSource) Read ¶
func (d *SettingsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*SettingsDataSource) Schema ¶
func (d *SettingsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type SettingsModel ¶
type SettingsModel struct { Approval types.Bool `tfsdk:"approval"` Comments types.Bool `tfsdk:"comments"` Id types.String `tfsdk:"id"` Duration types.Int64 `tfsdk:"duration"` Expiry types.Int64 `tfsdk:"expiry"` SesNotificationsEnabled types.Bool `tfsdk:"ses_notifications_enabled"` SnsNotificationsEnabled types.Bool `tfsdk:"sns_notifications_enabled"` SlackNotificationsEnabled types.Bool `tfsdk:"slack_notifications_enabled"` SesSourceEmail types.String `tfsdk:"ses_source_email"` SesSourceArn types.String `tfsdk:"ses_source_arn"` SlackToken types.String `tfsdk:"slack_token"` TeamAdminGroup types.String `tfsdk:"team_admin_group"` TeamAuditorGroup types.String `tfsdk:"team_auditor_group"` TicketNo types.Bool `tfsdk:"ticket_no"` ModifiedBy types.String `tfsdk:"modified_by"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type SettingsResource ¶
type SettingsResource struct {
// contains filtered or unexported fields
}
func (*SettingsResource) Configure ¶
func (r *SettingsResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*SettingsResource) Create ¶
func (r *SettingsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SettingsResource) Delete ¶
func (r *SettingsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SettingsResource) ImportState ¶
func (r *SettingsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*SettingsResource) Metadata ¶
func (r *SettingsResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*SettingsResource) Read ¶
func (r *SettingsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*SettingsResource) Schema ¶
func (r *SettingsResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*SettingsResource) Update ¶
func (r *SettingsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.