1. Copying Files
---
- hosts: win
tasks:
- name: Copy File
win_copy:
src: C:\output.pdf
1. Copying Files
---
- hosts: win
tasks:
- name: Copy File
win_copy:
src: C:\output.pdf
How can you configure a CloudFront distribution to pass all headers to the origin if the CloudFront distribution is deployed using CloudFormation? If you deploy the distribution in the AWS Web Console, you can select between None
, Whitelist
and All
. In CloudFront it appears that you can only assert a whitelist of allowed headers. This is done in this area of a CloudFormation resource describing a CloudFront distribution
Resources:
CloudFrontDistribution:
Type: AWS::CloudFront::Distribution
Properties:
DistributionConfig:
Tcpdump is a commandline tool that is used to dump traffic on a network. This tool comes in hand when you want to analyse network captures within the command line. Basically it can do most of the wireshark job.
NOTE This guide might not be complete it just serve as a reference to me.
#-------------------------------------------------------------- | |
# Create an EC2 machine, bootstrap with ansible | |
# | |
resource "aws_instance" "ec2-linux" { | |
ami = "ami-a4c7edb2" | |
vpc_security_group_ids = ["${aws_security_group.allow-all-test-sg.id}"] | |
key_name = "${var.private_ssh_key}" | |
instance_type = "t2.nano" |
--- | |
- name: Provision an EC2 Instance | |
hosts: local | |
connection: local | |
gather_facts: False | |
tags: provisioning | |
# Necessary Variables for creating/provisioning the EC2 Instance | |
vars: | |
instance_type: t2.small | |
group_id: ['sg-xxx','sg-xxx'] |