terraform-plugin-sdk
terraform-plugin-sdk copied to clipboard
Terraform Plugin SDK enables building plugins (providers) to manage any service providers or custom in-house solutions
### Terraform Version ``` Terraform v0.11.8 ``` ### Terraform Configuration Files ```hcl "ports": &schema.Schema{ Type: schema.TypeSet, Optional: true, ForceNew: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "internal": &schema.Schema{ Type: schema.TypeInt, Required: true,...
GetOkExists seems to have some cases which it returns a false positive, specifically when dealing with properties within a nested object with the type: schema.TypeSet. In the example below within...
Currently it looks like impossible to write any kind of text to the CLI from TF resource during read/update/delete/etc function. As it doesn't receive `terraform.UIOutput` This block's me from the...
### Current Terraform Version ```` Terraform v0.11.13 ```` ### Use-cases _As a service provider building my own custom terraform provider, I would like to be able to have resources with...
### Terraform Version ``` # go.mod github.com/hashicorp/terraform v0.12.0-beta2 ``` ### Terraform Resource Files In the Terraform AWS Provider: ```go # aws/resource_aws_route53_zone.go (inside &schema.Resource) CustomizeDiff: customdiff.All( customdiff.ForceNewIfChange("vpc", func(old, new, meta interface{})...
### SDK version ``` v1.4.0 ``` ### Relevant provider source code I just write a dummy provider to better illustrate my question. Below code is the schema definition, there defined...
### Terraform Version ``` Terraform v0.12.7 ``` ### Terraform Configuration Files ```hcl resource "random_string" "temp_password2" { length = 16 special = true min_upper = 1 min_lower = 1 min_special =...
Consider the following example: ``` hcl resource "aws_cloudtrail" "foobar" { name = "tf-trail-foobar" s3_bucket_name = "${aws_s3_bucket.foo.arn}" # ARN instead of name s3_key_prefix = "/prefix" include_global_service_events = false } resource "aws_s3_bucket"...
This proposal is for a new type in `helper/schema` to represent an enum, `schema.TypeEnum`, as well as highlighting two possible extensions/use cases for the type. To other provider contributors reading...
It looks like there is some unexpected behavior with nested properties when using a custom DiffSuppress method. When creating a new resource there is some custom logic to determine whether...