The app-analytics-delivery-config-kickstart is a Terraform template used to create your partner-side infrastructure for the AppExchange App Analytics Delivery (AADC) feature.
AppAnalyticsDeliveryConfig is currently only available as a closed pilot to invited partners.
This Terraform script was tested with Terraform v1.0.
This Terraform template requires that you have these items:
- An Amazon Web Services (AWS) account
- A set of AWS IAM credentials, including an Access key ID and a Secret Access Key, for CLI and API access
- An existing Simple Storage Service (S3) bucket to store the Terraform state file
- Terraform installed on your machine
This script is configured to store its Terraform state in your existing S3 bucket.
Modify the backend.tf
file to specify the AWS region
and bucket
name of your existing bucket where the state will be stored. For example:
backend "s3" {
region = "us-west-2"
bucket = "my_bucket_name"
key = "byob-kickstart.tfstate"
}
We recommended that you add versioning to this bucket.
The settings.auto.tfvars
file defines variables that you must set according to your environment. Specifically, you must set:
- The AWS region where your new S3 bucket(s) for App Analytics will live
- The Salesforce Org ID of your License Management Org (LMO), which secures your delegated IAM role
- The names of the bucket to create
To run the script, follow standard Terraform deployment steps.
-
Make your AWS credentials available to Terraform.
$ export AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID_HERE> $ export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY_HERE>
Initialize the backend.
$ terraform init
Create the plan.
$ terraform plan -out plan.out
Apply the plan.
$ terraform apply plan.out
After the plan is applied, Terraform outputs the values that you must supply when creating an AppAnalyticsDeliveryConfig object in Salesforce. Specifically for each AppAnalyticsDeliveryConfig object, you must set the
BucketName
field as the name of your bucket and theAwsIamRoleArn
field as the ARN of your delegated IAM role.You can also retrieve these values at any time by running:
$ terraform output
app-analytics-delivery-config-kickstart's People
Forkers
isabella232Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Jobs
Jooble