✔ ~/src/old_tf
11:36 $ terraform --version
Terraform v0.13.4
+ provider registry.terraform.io/hashicorp/aws v3.16.0
Your version of Terraform is out of date! The latest version
is 0.14.4. You can update by downloading from https://www.terraform.io/downloads.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Comment": "Defines the statemachine.", | |
"StartAt": "SageMaker CreateTransformJob", | |
"States": { | |
"SageMaker CreateTransformJob": { | |
"Type": "Task", | |
"Resource": "arn:aws:states:::sagemaker:createTransformJob.sync", | |
"Parameters": { | |
"BatchStrategy": "SingleRecord", | |
"DataProcessing": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Persistantly sets the hostname of a RHEL7 EC2 instance on start | |
Mappings: | |
RegionMap: | |
us-east-1: | |
'32': ami-6411e20d | |
'64': ami-7a11e213 | |
us-west-1: | |
'32': ami-c9c7978c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AbortDocumentVersionUpload | |
AbortEnvironmentUpdate | |
AbortMultipartUpload | |
AbortVaultLock | |
AcceptAccountMapping | |
AcceptCertificateTransfer | |
AcceptDelegate | |
AcceptDirectConnectGatewayAssociationProposal | |
AcceptFxPaymentCurrencyTermsAndConditions | |
AcceptHandshake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [24]: node = pika.URLParameters('amqps://<>.mq.us-east-1.amazonaws.com:5671') | |
In [25]: conn = pika.BlockingConnection([node]) | |
Pika version 1.1.0 connecting to ('<>', 5671) | |
Socket connected: <socket.socket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.178.45', 50679), raddr=('<>', 5671)> | |
SSL handshake completed successfully: <ssl.SSLSocket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.178.45', 50679), raddr=('<>', 5671)> | |
Streaming transport linked up: (<pika.adapters.utils.io_services_utils._AsyncSSLTransport object at 0x110918ee0>, _StreamingProtocolShim: <SelectConnection PROTOCOL transport=<pika.adapters.utils.io_services_utils._AsyncSSLTransport object at 0x110918ee0> params=<URLParameters host=<>.mq.us-east-1.amazonaws.com port=5671 virtual_host=/ ssl=True>>). | |
Aborting transport connection: state=1; <ssl.SSLSocket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.178.45', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Comment": "A Catch example of the Amazon States Language using an AWS Lambda Function", | |
"StartAt": "nextstep", | |
"States": { | |
"nextstep": { | |
"Type": "Task", | |
"Resource": "arn:aws:lambda:eu-central-1:1234567890:function:catcherror", | |
"Parameters": { | |
"executionId.$": "States.Format('somestring {}', $$.Execution.Id)" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipelines: | |
- step: | |
script: | |
# assuming the base image which is pulled from ecr has aws cli installed | |
- export AWS_PROFILE=deployment | |
# aws login | |
- eval $(aws ecr get-login --region ${AWS_DEFAULT_REGION} --no-include-email) | |
# docker | |
- export BUILD_ID=$BITBUCKET_BRANCH_$BITBUCKET_COMMIT_$BITBUCKET_BUILD_NUMBER | |
- docker build -t ${AWS_REGISTRY_URL}:$BUILD_ID . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: 2010-09-09 | |
Description: My API Gateway and Lambda function | |
Parameters: | |
apiGatewayName: | |
Type: String | |
Default: my-api | |
apiGatewayStageName: | |
Type: String | |
AllowedPattern: "[a-z0-9]+" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws_networkfirewall_rule_group.deny-http: Creating... | |
2020/11/27 21:19:37 [DEBUG] EvalApply: ProviderMeta config value set | |
2020/11/27 21:19:37 [DEBUG] aws_networkfirewall_rule_group.deny-http: applying the planned Create change | |
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: 2020/11/27 21:19:37 [DEBUG] Creating NetworkFirewall Rule Group deny-http | |
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: 2020/11/27 21:19:37 [DEBUG] [aws-sdk-go] DEBUG: Validate Request Network Firewall/CreateRuleGroup failed, not retrying, error InvalidParameter: 5 validation error(s) found. | |
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.Destination. | |
2020-11-27T21:19:37.025+0100 [DEBUG] plugin.terraform-provider-aws_v3.18.0_x5: - missing required field, CreateRuleGroupInput.RuleGroup.RulesSource.StatefulRules[0].Header.DestinationPort. | |
2020-11-27T21:19: |