Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
context.Context, req validator.ObjectRequest, resp *validator.ObjectResponse) { if req.ConfigValue.IsNull() || req.ConfigValue.IsUnknown() { return } sharedVpc := SharedVpc{} d := req.ConfigValue.As(ctx, &sharedVpc, basetypes.ObjectAsOptions{}) if d.HasError() { return } errSum := "Invalid shared_vpc attribute assignment" valuesToCheck := []basetypes.StringValue{ sharedVpc.IngressPrivateHostedZoneId, sharedVpc.InternalCommunicationPrivateHostedZoneId, sharedVpc.Route53RoleArn, sharedVpc.VpceRoleArn, } for _, value := range valuesToCheck { if common.IsStringAttributeKnownAndEmpty(value) { resp.Diagnostics.AddError(errSum, "Invalid configuration, all attributes are required") return } } })func(ctx
Functions ¶
func HcpStsDatasource ¶
func SharedVpcResource ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.