Skip to content

Commit

Permalink
PR #139: Fix aws-environment security_group_ids_for_knox - used Defau…
Browse files Browse the repository at this point in the history
…ltSecurityGroupIDs instead of SecurityGroupIDsForKnox
  • Loading branch information
ueisele authored and gregito committed Jul 16, 2024
1 parent 403b6d7 commit aafd8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/environments/resource_aws_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func toAwsEnvironmentResource(ctx context.Context, env *environmentsmodels.Envir
}
var sgIDsknox types.Set
if model.SecurityAccess != nil && !model.SecurityAccess.SecurityGroupIDsForKnox.IsUnknown() {
sgIDsknox = model.SecurityAccess.DefaultSecurityGroupIDs
sgIDsknox = model.SecurityAccess.SecurityGroupIDsForKnox
}
model.SecurityAccess = &SecurityAccess{
Cidr: types.StringValue(env.SecurityAccess.Cidr),
Expand Down

0 comments on commit aafd8ed

Please sign in to comment.