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

Adds Scalyr Logging Endpoint Support #252

Merged
merged 1 commit into from
Jun 17, 2020
Merged

Adds Scalyr Logging Endpoint Support #252

merged 1 commit into from
Jun 17, 2020

Conversation

mccurdyc
Copy link
Collaborator

@mccurdyc mccurdyc commented Jun 9, 2020

Proposed Changes

  • Adds Scalyr logging endpoint support.

Relevant Link(s) / Documentation

Validation

export FASTLY_API_KEY=foo; export TF_ACC=1; make testacc

cc @phamann @ezkl

@mccurdyc
Copy link
Collaborator Author

mccurdyc commented Jun 9, 2020

Force-pushed two squashed commits that make the Token field required.


"token": {
Type: schema.TypeString,
Required: true,
Copy link
Collaborator Author

@mccurdyc mccurdyc Jun 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs don't say required, but it's required in the CLI and confirmed that this is required by the backend.

Also noted that the docs need to be updated.

@mccurdyc
Copy link
Collaborator Author

mccurdyc commented Jun 9, 2020

Force-pushed a squashed commit that fixed a grammar error in the docs and renames variables using 'h'.

@mccurdyc mccurdyc marked this pull request as ready for review June 9, 2020 20:19
@mccurdyc
Copy link
Collaborator Author

TODO: add logging_scalyr to this block - https://github.com/terraform-providers/terraform-provider-fastly/pull/252/files#diff-e11f97f0c242e77100f2f794b0ac08abR1578

@mccurdyc
Copy link
Collaborator Author

Force-pushed a squashed commit addressing self-review comments.

@mccurdyc
Copy link
Collaborator Author

Force-pushed a squashed commit addressing more self-review comments.

Copy link
Member

@phamann phamann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM - other than non-blocking comment regarding read.

Comment on lines 3539 to 3541
if err := readScalyr(conn, d, s); err != nil {
return err
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm interested, your other PR's for new endpoints haven't included this read. If correct we should fix in the others.

Copy link
Collaborator Author

@mccurdyc mccurdyc Jun 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely! I think they should now. I will confirm.

@mccurdyc
Copy link
Collaborator Author

Force-pushed squashing into a single commit.

@mccurdyc
Copy link
Collaborator Author

Force-pushed rebasing master.

Signed-off-by: Colton J. McCurdy <cmccurdy@fastly.com>
@phamann phamann merged commit e747480 into fastly:master Jun 17, 2020
@mccurdyc mccurdyc deleted the mccurdyc/logging-scalyr branch June 17, 2020 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants