Skip to content

Commit 12d7750

Browse files
authored
Fix some broken links (#1537)
1 parent a2fa3ea commit 12d7750

File tree

5 files changed

+19
-20
lines changed

5 files changed

+19
-20
lines changed

CONTRIBUTING.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The cloud prefix can be one of:
2020
- `digitalocean` for [DigitalOcean](https://github.com/pulumi/pulumi-digitalocean/)
2121
- `f5bigip` for [F5's BIG-IP](https://github.com/pulumi/pulumi-f5bigip/)
2222
- `cloud` for [Pulumi's cross-cloud programming framework](https://github.com/pulumi/pulumi-cloud), which is currently in preview
23-
- Any [cloud provider](https://www.pulumi.com/docs/reference/pkg/#cloud-providers) with a dedicated Pulumi package
23+
- Any [cloud provider](https://www.pulumi.com/registry) with a dedicated Pulumi package
2424

2525
The language prefix can be one of:
2626
- `ts` for TypeScript
@@ -69,4 +69,3 @@ Each example should include a README to give the readers a good walkthrough. It
6969
See our [example README template](example-readme-template.md.txt) for detailed explanations on each section.
7070

7171
> The contribution guidelines have been authored in September 2019 and are subject to further refinements and tweaks. Examples prior to September 2019 do not necessarily conform to these guidelines.
72-

aws-py-wordpress-fargate-rds/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This example serves a WordPress site in AWS ECS Fargate using an RDS MySQL Backe
55
It leverages the following Pulumi concepts/constructs:
66

77
- [Component Resources](https://www.pulumi.com/docs/intro/concepts/programming-model/#components): Allows one to create custom resources that encapsulate one's best practices. In this example, component resource is used to define a "VPC" custom resource, a "Backend" custom resource that sets up the RDS DB, and a "Frontend" resource that sets up the ECS cluster and load balancer and tasks.
8-
- [Other Providers](https://www.pulumi.com/docs/reference/pkg/): Beyond the providers for the various clouds and Kubernetes, etc, Pulumi allows one to create and manage non-cloud resources. In this case, the program uses the Random provider to create a random password if necessary.
8+
- [Other Providers](https://www.pulumi.com/registry/): Beyond the providers for the various clouds and Kubernetes, etc, Pulumi allows one to create and manage non-cloud resources. In this case, the program uses the Random provider to create a random password if necessary.
99

1010
This sample uses the following AWS products (and related Pulumi providers):
1111

aws-ts-vpc-with-ecs-fargate-py/ecs-fargate-python/__main__.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"vpc_name": pulumi_vpc_name, "vpc_cidr": pulumi_vpc_cidr, "pulumi:project": env_project, "pulumi:stack": env_stack}
3232

3333
# Step 1.1: Create the Task Execution IAM Role https://docs.aws.amazon.com/AmazonECS/latest/userguide/ecs-cli-tutorial-fargate.html
34-
# IAM Role: https://www.pulumi.com/docs/reference/pkg/aws/iam/role/
34+
# IAM Role: https://www.pulumi.com/registry/packages/aws/api-docs/iam/role/
3535
task_execution_role = aws.iam.Role(
3636
"pulumi-fargate-task-execution-role",
3737
assume_role_policy=json.dumps(
@@ -51,15 +51,15 @@
5151
)
5252

5353
# Step 1.2 Attach the task execution role policy: https://docs.aws.amazon.com/AmazonECS/latest/userguide/ecs-cli-tutorial-fargate.html
54-
# https://www.pulumi.com/docs/reference/pkg/aws/iam/rolepolicyattachment/
54+
# https://www.pulumi.com/registry/packages/aws/api-docs/iam/rolepolicyattachment/
5555
task_execution_role_policy_attach = aws.iam.RolePolicyAttachment(
5656
"pulumi-fargate-task-excution-policy-attach",
5757
role=task_execution_role.name,
5858
policy_arn="arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"
5959
)
6060

6161
# Step 3: Create a Cluster and Configure the Security Group https://docs.aws.amazon.com/AmazonECS/latest/userguide/ecs-cli-tutorial-fargate.html
62-
# https://www.pulumi.com/docs/reference/pkg/aws/ec2/securitygroup/
62+
# https://www.pulumi.com/registry/packages/aws/api-docs/ec2/securitygroup/
6363

6464
# tags for security group
6565
sec_tags = dict(my_tags)
@@ -85,23 +85,23 @@
8585
cluster_tags.update({"Name": "pulumi-fargate-ecs-cluster"})
8686

8787
# Create an ECS cluster to run a container-based service.
88-
# https://www.pulumi.com/docs/reference/pkg/aws/ecs/cluster/
88+
# https://www.pulumi.com/registry/packages/aws/api-docs/ecs/cluster/
8989
cluster = aws.ecs.Cluster('pulumi-app-cluster', tags=cluster_tags)
9090

9191

9292
# 3. Create a load balancer to listen for requests and route them to the container.
9393
# AWS CLI install https://docs.aws.amazon.com/elasticloadbalancing/latest/application/tutorial-application-load-balancer-cli.html
94-
# https://www.pulumi.com/docs/reference/pkg/aws/alb/loadbalancer/
94+
# https://www.pulumi.com/registry/packages/aws/api-docs/alb/loadbalancer/
9595

9696
# tags for Application Load Balancer (ALB)
9797
alb_tags = dict(my_tags)
9898
alb_tags.update({"Name": "pulumi-fargate-alb"})
9999

100-
# Created application load balancer in public subnets https://www.pulumi.com/docs/reference/pkg/aws/alb/loadbalancer/
100+
# Created application load balancer in public subnets https://www.pulumi.com/registry/packages/aws/api-docs/alb/loadbalancer/
101101
alb = aws.lb.LoadBalancer("pulumi-fargate-alb", subnets=pulumi_public_subnets,
102102
security_groups=[sgroup.id], tags=alb_tags)
103103

104-
# Create target group https://www.pulumi.com/docs/reference/pkg/aws/alb/targetgroup/
104+
# Create target group https://www.pulumi.com/registry/packages/aws/api-docs/alb/targetgroup/
105105
alb_target_group = aws.lb.TargetGroup(
106106
"pulumi-fargate-alb-tg",
107107
port=80,
@@ -110,7 +110,7 @@
110110
vpc_id=pulumi_vpc_id
111111
)
112112

113-
# Create Listener https://www.pulumi.com/docs/reference/pkg/aws/alb/listener/
113+
# Create Listener https://www.pulumi.com/registry/packages/aws/api-docs/alb/listener/
114114
front_end_listener = aws.lb.Listener(
115115
"pulumi-fargate-listener",
116116
load_balancer_arn=alb.arn,
@@ -126,7 +126,7 @@
126126
task_definition_tags = dict(my_tags)
127127
task_definition_tags.update({"Name": "pulumi-fargate-task-definition"})
128128

129-
# Task Definition https://www.pulumi.com/docs/reference/pkg/aws/ecs/taskdefinition/
129+
# Task Definition https://www.pulumi.com/registry/packages/aws/api-docs/ecs/taskdefinition/
130130
task_definition = aws.ecs.TaskDefinition(
131131
"pulumi-fargate-task-definition",
132132
family='fargate-task-definition',
@@ -151,7 +151,7 @@
151151
service_tags = dict(my_tags)
152152
service_tags.update({"Name": "pulumi-fargate-service"})
153153

154-
# ecs service https://www.pulumi.com/docs/reference/pkg/aws/ecs/service/
154+
# ecs service https://www.pulumi.com/registry/packages/aws/api-docs/ecs/service/
155155
service = aws.ecs.Service(
156156
'pulumi-fargate-service',
157157
cluster=cluster.arn,
@@ -173,4 +173,4 @@
173173
)
174174

175175
export('Load Balancer URL', alb.dns_name)
176-
export("ECS Cluster Tags", cluster_tags)
176+
export("ECS Cluster Tags", cluster_tags)

aws-ts-wordpress-fargate-rds/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This example serves a WordPress site in AWS ECS Fargate using an RDS MySQL Backe
55
It leverages the following Pulumi concepts/constructs:
66

77
- [Component Resources](https://www.pulumi.com/docs/intro/concepts/programming-model/#components): Allows one to create custom resources that encapsulate one's best practices. In this example, component resource is used to define a "VPC" custom resource, a "Backend" custom resource that sets up the RDS DB, and a "Frontend" resource that sets up the ECS cluster and load balancer and tasks.
8-
- [Other Providers](https://www.pulumi.com/docs/reference/pkg/): Beyond the providers for the various clouds and Kubernetes, etc, Pulumi allows one to create and manage non-cloud resources. In this case, the program uses the Random provider to create a random password if necessary.
8+
- [Other Providers](https://www.pulumi.com/registry/): Beyond the providers for the various clouds and Kubernetes, etc, Pulumi allows one to create and manage non-cloud resources. In this case, the program uses the Random provider to create a random password if necessary.
99

1010
This sample uses the following AWS products (and related Pulumi providers):
1111

libvirt-py-vm/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
# Using the Pulumi Libvirt Provider to Deploy a VM on a KVM Server
44

5-
Deploys a KVM server in Azure and then deploys a small Linux VM on that KVM server.
6-
It uses the Pulumi Libvirt provider (https://www.pulumi.com/docs/reference/pkg/libvirt/) and nested virtualization that is supported by certain Azure instance types to accomplish this.
5+
Deploys a KVM server in Azure and then deploys a small Linux VM on that KVM server.
6+
It uses the Pulumi Libvirt provider (https://www.pulumi.com/registry/packages/libvirt/) and nested virtualization that is supported by certain Azure instance types to accomplish this.
77

88
## Running the App
99

1010
1. The libvirt provider uses the libvirt module. Therefore, libvirt needs to be installed on the machine from which you are running pulumi.
1111
- Mac: `brew install libvirt`
1212
- Windows: See: https://libvirt.org/windows.html
1313
- Others: https://libvirt.org/downloads.html
14-
14+
1515
1. Create a new stack:
1616

1717
```
@@ -54,8 +54,8 @@ It uses the Pulumi Libvirt provider (https://www.pulumi.com/docs/reference/pkg/l
5454
Duration: 3m36s
5555
```
5656

57-
1. Check the VM on the KVM host:
58-
The stack generates an output that provides a string you can execute to run `virsh` remotely on the KVM host.
57+
1. Check the VM on the KVM host:
58+
The stack generates an output that provides a string you can execute to run `virsh` remotely on the KVM host.
5959
It will look something like
6060
```
6161
echo virsh list | ssh -i libvirt-ex-dev-kvm_server.priv [email protected]

0 commit comments

Comments
 (0)