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

Move all example manifests in us-west-1 to us-east-2 #1277

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ Use `monolith` instead of `ec2` to build and publish the monolithic provider.

Follow the guide [here](https://github.com/crossplane/upjet/blob/v0.10.0/docs/add-new-resource-short.md).

When creating new manifests in the `examples/` directory, please using the `us-west-1` region, as its inconsistent number
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
When creating new manifests in the `examples/` directory, please using the `us-west-1` region, as its inconsistent number
When creating new manifests in the `examples/` directory, please avoid using the `us-west-1` region, as its inconsistent number

of availability zones can produce different results when run on different AWS accounts. Any other region available to
all accounts by default is fine.

## Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please
Expand Down
2 changes: 1 addition & 1 deletion examples/accessanalyzer/v1beta1/analyzer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ metadata:
name: example
spec:
forProvider:
region: us-west-1
region: us-east-2
4 changes: 2 additions & 2 deletions examples/accessanalyzer/v1beta1/archiverule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
- criteria: isPublic
eq:
- "false"
region: us-west-1
region: us-east-2

---

Expand All @@ -36,4 +36,4 @@ metadata:
name: example-analyzer
spec:
forProvider:
region: us-west-1
region: us-east-2
2 changes: 1 addition & 1 deletion examples/account/v1beta1/alternatecontact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ spec:
emailAddress: [email protected]
name: Example
phoneNumber: "+1234567890"
region: us-west-1
region: us-east-2
title: Example
4 changes: 2 additions & 2 deletions examples/acm/v1beta1/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
testing.upbound.io/example-name: certificate
spec:
forProvider:
region: us-west-1
region: us-east-2
domainName: example-dns.upbound-providers.io
tags:
Environment: test
Expand All @@ -32,7 +32,7 @@ metadata:
upjet.upbound.io/manual-intervention: "It requires a real domain to be bought"
spec:
forProvider:
region: us-west-1
region: us-east-2
certificateArnSelector:
matchLabels:
testing.upbound.io/example-name: certificate
Expand Down
4 changes: 2 additions & 2 deletions examples/acmpca/v1beta1/permission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
matchLabels:
testing.upbound.io/example-name: example
principal: acm.amazonaws.com
region: us-west-1
region: us-east-2

---

Expand All @@ -40,4 +40,4 @@ spec:
signingAlgorithm: SHA512WITHRSA
subject:
- commonName: example.com
region: us-west-1
region: us-east-2
4 changes: 2 additions & 2 deletions examples/acmpca/v1beta1/policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
\ ],\n \"Resource\":\"${aws_acmpca_certificate_authority.example.arn}\",\n
\ \"Condition\":{\n \"StringEquals\":{\n \"acm-pca:TemplateArn\":\"arn:aws:acm-pca:::template/EndEntityCertificate/V1\"\n
\ }\n }\n }\n ]\n}\n"
region: us-west-1
region: us-east-2
resourceArnSelector:
matchLabels:
testing.upbound.io/example-name: example
Expand All @@ -50,4 +50,4 @@ spec:
signingAlgorithm: SHA512WITHRSA
subject:
- commonName: example.com
region: us-west-1
region: us-east-2
2 changes: 1 addition & 1 deletion examples/amp/v1beta1/workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
name: demo
spec:
forProvider:
region: us-east-1 # Not available in us-west-1
region: us-east-1 # Not available in us-east-2
---
apiVersion: amp.aws.upbound.io/v1beta1
kind: RuleGroupNamespace
Expand Down
2 changes: 1 addition & 1 deletion examples/amplify/v1beta1/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ spec:
environmentVariables:
ENV: test
name: example
region: us-west-1
region: us-east-2
4 changes: 2 additions & 2 deletions examples/amplify/v1beta1/backendenvironment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
matchLabels:
testing.upbound.io/example-name: example
deploymentArtifacts: app-example-deployment
region: us-west-1
region: us-east-2
stackName: amplify-app-example
---
apiVersion: amplify.aws.upbound.io/v1beta1
Expand All @@ -30,4 +30,4 @@ metadata:
spec:
forProvider:
name: example
region: us-west-1
region: us-east-2
4 changes: 2 additions & 2 deletions examples/amplify/v1beta1/branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
environmentVariables:
REACT_APP_API_SERVER: https://api.example.com
framework: React
region: us-west-1
region: us-east-2
stage: PRODUCTION
---
apiVersion: amplify.aws.upbound.io/v1beta1
Expand All @@ -32,4 +32,4 @@ metadata:
spec:
forProvider:
name: app
region: us-west-1
region: us-east-2
6 changes: 3 additions & 3 deletions examples/amplify/v1beta1/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
matchLabels:
testing.upbound.io/example-name: master
description: triggermaster
region: us-west-1
region: us-east-2
---
apiVersion: amplify.aws.upbound.io/v1beta1
kind: App
Expand All @@ -32,7 +32,7 @@ metadata:
spec:
forProvider:
name: app
region: us-west-1
region: us-east-2
---
apiVersion: amplify.aws.upbound.io/v1beta1
kind: Branch
Expand All @@ -47,5 +47,5 @@ spec:
appIdSelector:
matchLabels:
testing.upbound.io/example-name: example
region: us-west-1
region: us-east-2
stage: PRODUCTION
2 changes: 1 addition & 1 deletion examples/apigateway/v1beta1/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ metadata:
testing.upbound.io/example-name-subgroup: account
spec:
forProvider:
region: us-west-1
region: us-east-2
2 changes: 1 addition & 1 deletion examples/apigateway/v1beta1/clientcertificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ metadata:
spec:
forProvider:
description: My client certificate
region: us-west-1
region: us-east-2
4 changes: 2 additions & 2 deletions examples/apigateway/v1beta1/domainname.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
domainNameSelector:
matchLabels:
testing.upbound.io/example-name: example
region: us-west-1
region: us-east-2
stageNameSelector:
matchLabels:
testing.upbound.io/example-name: example
Expand All @@ -41,4 +41,4 @@ spec:
name: example-secret
namespace: upbound-system
domainName: example.com
region: us-west-1
region: us-east-2
14 changes: 7 additions & 7 deletions examples/apigateway/v1beta1/integrationresponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
forProvider:
description: This is my API for demonstration purposes
name: MyDemoAPI
region: us-west-1
region: us-east-2
---
apiVersion: apigateway.aws.upbound.io/v1beta1
kind: IntegrationResponse
Expand All @@ -31,7 +31,7 @@ spec:
httpMethodSelector:
matchLabels:
testing.upbound.io/example-name: integration
region: us-west-1
region: us-east-2
resourceIdSelector:
matchLabels:
testing.upbound.io/example-name: integration
Expand Down Expand Up @@ -63,7 +63,7 @@ spec:
httpMethodSelector:
matchLabels:
testing.upbound.io/example-name: integration
region: us-west-1
region: us-east-2
resourceIdSelector:
matchLabels:
testing.upbound.io/example-name: integration
Expand All @@ -85,7 +85,7 @@ spec:
forProvider:
authorization: NONE
httpMethod: GET
region: us-west-1
region: us-east-2
resourceIdSelector:
matchLabels:
testing.upbound.io/example-name: integration
Expand All @@ -107,7 +107,7 @@ spec:
httpMethodSelector:
matchLabels:
testing.upbound.io/example-name: integration
region: us-west-1
region: us-east-2
resourceIdSelector:
matchLabels:
testing.upbound.io/example-name: integration
Expand All @@ -130,7 +130,7 @@ spec:
matchLabels:
testing.upbound.io/example-name: integration
pathPart: mydemoresource
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: integration
Expand All @@ -148,7 +148,7 @@ spec:
contentType: application/json
description: a JSON schema
name: user
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: integration
Expand Down
14 changes: 7 additions & 7 deletions examples/apigateway/v1beta1/restapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
forProvider:
name: auth-demo
region: us-west-1
region: us-east-2
---
apiVersion: apigateway.aws.upbound.io/v1beta1
kind: RestAPIPolicy
Expand Down Expand Up @@ -42,7 +42,7 @@ spec:
}
]
}
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: test
Expand All @@ -58,9 +58,9 @@ spec:
authorizerCredentialsSelector:
matchLabels:
testing.upbound.io/example-name: restapi
authorizerUri: arn:aws:apigateway:us-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-1:609897127049:function:official-providers-noop-test-func/invocations
authorizerUri: arn:aws:apigateway:us-east-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-2:609897127049:function:official-providers-noop-test-func/invocations
name: demo
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: restapi
Expand All @@ -74,7 +74,7 @@ metadata:
spec:
forProvider:
description: Example description
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: restapi
Expand All @@ -91,7 +91,7 @@ spec:
location:
- type: API
properties: '{"description":"Example"}'
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: restapi
Expand All @@ -104,7 +104,7 @@ metadata:
name: test
spec:
forProvider:
region: us-west-1
region: us-east-2
responseParameters:
gatewayresponse.header.Authorization: '''Basic'''
responseTemplates:
Expand Down
18 changes: 9 additions & 9 deletions examples/apigateway/v1beta1/stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
matchLabels:
testing.upbound.io/example-name: stage
keyType: API_KEY
region: us-west-1
region: us-east-2
usagePlanIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
Expand Down Expand Up @@ -47,7 +47,7 @@ spec:
- limit: 20
offset: 2
period: WEEK
region: us-west-1
region: us-east-2
throttleSettings:
- burstLimit: 5
rateLimit: 10
Expand All @@ -61,7 +61,7 @@ metadata:
spec:
forProvider:
name: my_key
region: us-west-1
region: us-east-2
---
apiVersion: apigateway.aws.upbound.io/v1beta1
kind: Deployment
Expand All @@ -71,7 +71,7 @@ metadata:
name: stage
spec:
forProvider:
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
Expand Down Expand Up @@ -105,7 +105,7 @@ spec:
}
})}
name: test-demo
region: us-west-1
region: us-east-2
---
apiVersion: apigateway.aws.upbound.io/v1beta1
kind: Stage
Expand All @@ -118,7 +118,7 @@ spec:
deploymentIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
Expand All @@ -135,7 +135,7 @@ spec:
deploymentIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
Expand All @@ -150,7 +150,7 @@ metadata:
spec:
forProvider:
methodPath: '*/*'
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
Expand All @@ -169,7 +169,7 @@ metadata:
spec:
forProvider:
name: example
region: us-west-1
region: us-east-2
restApiIdSelector:
matchLabels:
testing.upbound.io/example-name: stage
Expand Down
Loading
Loading