Skip to content

Commit

Permalink
Merge pull request #36646 from mayank0202/enhancement-snowflake-desti…
Browse files Browse the repository at this point in the history
…nation

Enhancement: snowflake destination addition in firehose kinesis stream
  • Loading branch information
ewbankkit authored Apr 22, 2024
2 parents f2528d3 + 2fef0a4 commit 98d7955
Show file tree
Hide file tree
Showing 5 changed files with 643 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/36646.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_kinesis_firehose_delivery_stream: Add `snowflake_configuration` argument
```
6 changes: 6 additions & 0 deletions internal/acctest/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ var (
tlsX509CertificateSerialNumberLimit = new(big.Int).Lsh(big.NewInt(1), 128) //nolint:gomnd
)

// TLSPEMRemoveRSAPrivateKeyEncapsulationBoundaries removes RSA private key
// pre and post encapsulation boundaries from a PEM string.
func TLSPEMRemoveRSAPrivateKeyEncapsulationBoundaries(pem string) string {
return removePEMEncapsulationBoundaries(pem, PEMBlockTypeRSAPrivateKey)
}

// TLSPEMRemovePublicKeyEncapsulationBoundaries removes public key
// pre and post encapsulation boundaries from a PEM string.
func TLSPEMRemovePublicKeyEncapsulationBoundaries(pem string) string {
Expand Down
Loading

0 comments on commit 98d7955

Please sign in to comment.