Skip to content

Commit

Permalink
Renaming example directories to align to naming conventions (pulumi#986)
Browse files Browse the repository at this point in the history
* Renaming directories to align to naming conventions

* Update naming in READMEs and YAML files

Co-authored-by: Dave Wrede <[email protected]>
Co-authored-by: Lee-Ming Zen <[email protected]>
  • Loading branch information
3 people committed Oct 12, 2021
1 parent 7376b50 commit 324ae1d
Show file tree
Hide file tree
Showing 77 changed files with 100 additions and 100 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Voting app Using Django and MySQL

A simple voting app that uses MySQL for data storage and a Python Django app for the frontend.
A simple voting app that uses MySQL for data storage and a Python Django app for the frontend.

The example shows how easy it is to deploy containers into production and to connect them to one another. Since the example defines a custom container, Pulumi does the following:

Expand All @@ -23,7 +23,7 @@ The example shows how easy it is to deploy containers into production and to con
1. Create a new stack:

```bash
$ pulumi stack init aws-django-voting-app
$ pulumi stack init aws-py-django-voting-app
```

1. Set the AWS region, the usernames and passwords for a set of accounts the project uses, and a random 50-character string to serve as Django's secret key:
Expand All @@ -42,40 +42,40 @@ The example shows how easy it is to deploy containers into production and to con
1. Run `pulumi up -y` to deploy changes:

```bash
Updating (aws-django-voting-app):
Updating (aws-py-django-voting-app):
Type Name Status Info
+ pulumi:pulumi:Stack voting-app-aws-django-voting-app created
+ pulumi:pulumi:Stack voting-app-aws-py-django-voting-app created
+ ├─ docker:image:Image django-dockerimage created 1 warning
+ ├─ aws:ec2:Vpc app-vpc created
+ ├─ aws:ecs:Cluster app-cluster created
+ ├─ aws:iam:Role app-exec-role created
+ ├─ aws:iam:Role app-task-role created
+ ├─ aws:ecr:Repository app-ecr-repo created
+ ├─ aws:cloudwatch:LogGroup django-log-group created
+ ├─ aws:ecr:LifecyclePolicy app-lifecycle-policy created
+ ├─ aws:iam:RolePolicyAttachment app-exec-policy created
+ ├─ aws:iam:RolePolicyAttachment app-access-policy created
+ ├─ aws:iam:RolePolicyAttachment app-lambda-policy created
+ ├─ aws:ec2:InternetGateway app-gateway created
+ ├─ aws:ec2:SecurityGroup security-group created
+ ├─ aws:ec2:Subnet app-vpc-subnet created
+ ├─ aws:ec2:Subnet extra-rds-subnet created
+ ├─ aws:lb:TargetGroup django-targetgroup created
+ ├─ aws:lb:LoadBalancer django-balancer created
+ ├─ aws:ec2:RouteTable app-routetable created
+ ├─ aws:rds:SubnetGroup app-database-subnetgroup created
+ ├─ aws:ec2:MainRouteTableAssociation app_routetable_association created
+ ├─ aws:rds:Instance mysql-server created
+ ├─ aws:lb:Listener django-listener created
+ ├─ pulumi:providers:mysql mysql-provider created
+ ├─ mysql:index:Database mysql-database created
+ ├─ mysql:index:User mysql-standard-user created
+ ├─ mysql:index:Grant mysql-access-grant created
+ ├─ aws:ecs:TaskDefinition django-site-task-definition created
+ ├─ aws:ecs:TaskDefinition django-database-task-definition created
+ ├─ aws:ecs:Service django-site-service created
+ └─ aws:ecs:Service django-database-service created
+ ├─ aws:ec2:Vpc app-vpc created
+ ├─ aws:ecs:Cluster app-cluster created
+ ├─ aws:iam:Role app-exec-role created
+ ├─ aws:iam:Role app-task-role created
+ ├─ aws:ecr:Repository app-ecr-repo created
+ ├─ aws:cloudwatch:LogGroup django-log-group created
+ ├─ aws:ecr:LifecyclePolicy app-lifecycle-policy created
+ ├─ aws:iam:RolePolicyAttachment app-exec-policy created
+ ├─ aws:iam:RolePolicyAttachment app-access-policy created
+ ├─ aws:iam:RolePolicyAttachment app-lambda-policy created
+ ├─ aws:ec2:InternetGateway app-gateway created
+ ├─ aws:ec2:SecurityGroup security-group created
+ ├─ aws:ec2:Subnet app-vpc-subnet created
+ ├─ aws:ec2:Subnet extra-rds-subnet created
+ ├─ aws:lb:TargetGroup django-targetgroup created
+ ├─ aws:lb:LoadBalancer django-balancer created
+ ├─ aws:ec2:RouteTable app-routetable created
+ ├─ aws:rds:SubnetGroup app-database-subnetgroup created
+ ├─ aws:ec2:MainRouteTableAssociation app_routetable_association created
+ ├─ aws:rds:Instance mysql-server created
+ ├─ aws:lb:Listener django-listener created
+ ├─ pulumi:providers:mysql mysql-provider created
+ ├─ mysql:index:Database mysql-database created
+ ├─ mysql:index:User mysql-standard-user created
+ ├─ mysql:index:Grant mysql-access-grant created
+ ├─ aws:ecs:TaskDefinition django-site-task-definition created
+ ├─ aws:ecs:TaskDefinition django-database-task-definition created
+ ├─ aws:ecs:Service django-site-service created
+ └─ aws:ecs:Service django-database-service created

Outputs:
app-url: "django-balancer-2f4f9fe-c6e6893a1972a811.elb.us-west-2.amazonaws.com"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 324ae1d

Please sign in to comment.