-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: add support for Provider-defined functions #200
Conversation
@@ -0,0 +1,33 @@ | |||
linters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new linter... the older one is longer active...
|
||
require ( | ||
github.com/bmatcuk/doublestar v1.3.4 | ||
github.com/hashicorp/go-hclog v1.5.0 | ||
github.com/hashicorp/hcl/v2 v2.16.2 | ||
github.com/hashicorp/hcl/v2 v2.22.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upgraded the versions to support provider functions.
- google_beta_resource_skip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed this test from older providers where setting a specific provider version doesn't work...
@@ -3,7 +3,8 @@ | |||
terraform { | |||
required_providers { | |||
google = { | |||
source = "hashicorp/google" | |||
source = "hashicorp/google" | |||
version = "4.84.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to lock the version... this is because the 'labels' was removed from beta state (now in main version).
therefore, need to lock to a version where this was beta.
} | ||
|
||
output "hashicups_ecr_repository_account_id" { | ||
value = provider::aws::arn_parse(aws_ecr_repository.hashicups.arn).account_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provider function...
fixes #199