Skip to content
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

provider/fastly: Allow specifying log format version for Papertrail provider #3

Closed
hashibot opened this issue Jun 13, 2017 · 1 comment
Labels
enhancement New feature or request

Comments

@hashibot
Copy link

This issue was originally opened by @acme as hashicorp/terraform#12462. It was migrated here as part of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.8.8

Affected Resource(s)

Please list the resources as a list, for example:

  • fastly

Terraform Configuration Files

# Configure the Fastly Provider
provider "fastly" {
  api_key = "${var.fastly_api_key}"
}

# Create a Service
resource "fastly_service_v1" "myservice" {
  name = "${var.domain}"

  domain {
    name = "${var.domain}"
  }

  default_ttl   = 10
  force_destroy = true

  vcl {
    name    = "main.vcl"
    main    = "true"
    content = "${file("files/main.vcl")}"
  }

  papertrail {
    name               = "Papertrail"
    format             = "%h %l %u %{now}V %{req.request}V %{req.url}V %>s"
    address            = "${var.papertrail_address}"
    port               = "${var.papertrail_port}"
    format_version     = 2
  }
}

Debug Output

https://gist.githubusercontent.com/acme/276edaf056a0e7c874341c7e6e454893/raw/5bdb0c435dce00a4070e41ede7226393f2d9be9c/gistfile1.txt

Panic Output

Expected Behavior

Terraform created a Fastly Papertrail logging configuration with log format version 2.

Actual Behavior

* fastly_service_v1.myservice: papertrail.0: invalid or unknown key: format_version

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

Important Factoids

References

@hashibot hashibot added the enhancement New feature or request label Jun 13, 2017
CodingKayla referenced this issue in GannettDigital/terraform-provider-fastly May 2, 2018
@philippschulte
Copy link
Member

I'll close this one out in favor of #119.

philippschulte pushed a commit that referenced this issue Aug 6, 2019
* Introduces the acl nested block and acl entries resource.
* Introduces expanded acceptance tests covering new acl entries resource.
* Updates documentation covering acl and acl entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants