Skip to content

Commit

Permalink
fix: 🐛 misspelling in var name
Browse files Browse the repository at this point in the history
  • Loading branch information
erikpaasonen authored Nov 5, 2024
1 parent d23d141 commit 01e179c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/terraform/stepper.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,11 @@ func GetBackendConfig(exec config.StepExecution, backendParser TFBackendParser)
if declaredBackend.AssumeRole.RoleArn != "" {
roleArn := declaredBackend.AssumeRole.RoleArn
exec.Logger.Tracef("Declared S3RoleArn: %s", roleArn)
interpolatedRoelArn := interpolateString(exec, declaredBackend.AssumeRole.RoleArn)
interpolatedRoleArn := interpolateString(exec, declaredBackend.AssumeRole.RoleArn)

// only track override config if interpolated is different from what user declared
if interpolatedRoelArn != roleArn {
roleArn = interpolatedRoelArn
if interpolatedRoleArn != roleArn {
roleArn = interpolatedRoleArn
b["assume_role"] = fmt.Sprintf("{\"role_arn\"=\"%s\"}", roleArn)
}
exec.Logger.Debugf("Resolved S3RoleArn: %s", roleArn)
Expand Down

0 comments on commit 01e179c

Please sign in to comment.