Skip to content

Commit

Permalink
update test, remove unused regex
Browse files Browse the repository at this point in the history
  • Loading branch information
aq17 committed Sep 27, 2023
1 parent 5c18aed commit c87803c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ast/environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ imports:
- us-west-2
config:
aws:
fn::aws-oidc:
fn::open::aws-oidc:
inputs:
sessionName: site-prod-session
roleArn: some-role-arn
Expand Down
2 changes: 0 additions & 2 deletions ast/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import (
"github.com/pulumi/esc/syntax"
)

var fnOpenRegex = regexp.MustCompile(`^fn::open::[a-zA-Z-]+$`)

// Expr represents a Pulumi YAML expression. Expressions may be literals, interpolated strings, symbols, or builtin
// functions.
type Expr interface {
Expand Down

0 comments on commit c87803c

Please sign in to comment.